chore: fix type

This commit is contained in:
Bereket Engida
2024-12-11 16:58:09 +03:00
parent 884cb7bed4
commit 123b6568ad

View File

@@ -55,3 +55,4 @@ export type DeepPartial<T> = T extends Function
: T extends object
? { [K in keyof T]?: DeepPartial<T[K]> }
: T;
export type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never;