Use fragments

This commit is contained in:
Luis Alvarez
2020-10-01 18:55:50 -05:00
parent 5bd31d254d
commit 22bd962b71
6 changed files with 143 additions and 232 deletions

View File

@@ -0,0 +1,7 @@
export type RecursivePartial<T> = {
[P in keyof T]?: RecursivePartial<T[P]>;
};
export type RecursiveRequired<T> = {
[P in keyof T]-?: RecursiveRequired<T[P]>;
};