mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-22 03:11:44 +03:00
6 lines
100 B
TypeScript
6 lines
100 B
TypeScript
|
type DeepPartial<T> = T extends object
|
||
|
? {
|
||
|
[P in keyof T]?: DeepPartial<T[P]>;
|
||
|
}
|
||
|
: T;
|