fsdb/utils/optional.ts

1 line
79 B
TypeScript

export type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;