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 b11d602 commit 0d222cbCopy full SHA for 0d222cb
website/lib/types.ts
@@ -24,6 +24,6 @@ export type NonNullableObject<T> = {
24
[K in keyof T]: T[K] extends Array<infer U>
25
? Array<NonNullable<U>>
26
: T[K] extends object
27
- ? NonNullableObject<T[K]>
28
- : NonNullable<T[K]>
+ ? NonNullableObject<T[K]>
+ : NonNullable<T[K]>
29
}
0 commit comments