We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c888843 commit 082ec35Copy full SHA for 082ec35
primitives/type-utils/src/utils.ts
@@ -72,7 +72,7 @@ type OptionalIfObject<T> = T extends object ? (T extends readonly any[] ? T : {
72
type DeepOptionalIfObject<T> = T extends object
73
? T extends readonly any[]
74
? T
75
- : { [K in keyof T]?: DeepOptionalIfObject<T[K]> }
+ : { [K in keyof T]: DeepOptionalIfObject<T[K]> }
76
: T;
77
78
type PathValue<T, P extends string> = P extends `${infer K}.${infer R}`
0 commit comments