UNPKG

@copilotkit/shared

Version:

<div align="center"> <a href="https://copilotkit.ai" target="_blank"> <img src="https://github.com/copilotkit/copilotkit/raw/main/assets/banner.png" alt="CopilotKit Logo"> </a>

7 lines (5 loc) 179 B
type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>; type RequiredBy<T, K extends keyof T> = T & { [P in K]-?: T[P]; }; export { PartialBy, RequiredBy };