Spaces:
Sleeping
Sleeping
File size: 433 Bytes
05c5ed5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
type Mutate<T> = Partial<T> | ((prev: T) => Partial<T>);
type Override<T, R> = Omit<T, keyof R> & R;
type ValueOf<T> = T[keyof T];
type JsonValue =
| string
| number
| boolean
| null
| undefined
| JsonValue[]
| { [key: string]: JsonValue };
type DeepPartial<T> = {
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
};
|