We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6e9ded commit 78b5b99Copy full SHA for 78b5b99
src/BaseModel.types.ts
@@ -22,7 +22,7 @@ export type BaseModelJson<T> = Omit<T, Exclude<keyof IBaseModel, T> | keyof Base
22
export type RecursivePartial<T> = {
23
[P in keyof T]?: T[P] extends (infer U)[]
24
? RecursivePartial<U>[]
25
- : T[P] extends Record<string, unknown>
+ : T[P] extends Record<string, any>
26
? RecursivePartial<T[P]>
27
: T[P];
28
};
0 commit comments