Skip to content

Commit 082ec35

Browse files
committed
feat: remove "undefined" when cancelling derivation.
1 parent c888843 commit 082ec35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

primitives/type-utils/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ type OptionalIfObject<T> = T extends object ? (T extends readonly any[] ? T : {
7272
type DeepOptionalIfObject<T> = T extends object
7373
? T extends readonly any[]
7474
? T
75-
: { [K in keyof T]?: DeepOptionalIfObject<T[K]> }
75+
: { [K in keyof T]: DeepOptionalIfObject<T[K]> }
7676
: T;
7777

7878
type PathValue<T, P extends string> = P extends `${infer K}.${infer R}`

0 commit comments

Comments
 (0)