mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-24 04:23:57 +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;
|