2 lines
79 B
TypeScript
2 lines
79 B
TypeScript
|
export type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
|