3 lines
159 B
Plaintext
3 lines
159 B
Plaintext
export type MakeRequired<Base, Key extends keyof Base> = Omit<Base, Key> & Required<Record<Key, NonNullable<Base[Key]>>>;
|
|
export type ValueOf<T> = T[keyof T];
|