Adds some more polish
This commit is contained in:
parent
b3d0b3a90c
commit
11bd836ec3
18 changed files with 272 additions and 29 deletions
3
source/types/Partial.ts
Normal file
3
source/types/Partial.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export type DeepPartial<T> = T extends object ? {
|
||||
[P in keyof T]?: DeepPartial<T[P]>;
|
||||
} : T;
|
||||
Loading…
Add table
Add a link
Reference in a new issue