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 1e114d2 commit 0a207ccCopy full SHA for 0a207cc
tests/cases/compiler/propTypeValidatorInference.ts
@@ -13,7 +13,7 @@ export interface Validator<T> {
13
[nominalTypeHack]?: T;
14
}
15
16
-export interface Requireable<T> extends Validator<T | undefined | null> {
+export interface Requireable<T> extends Validator<T> {
17
isRequired: Validator<NonNullable<T>>;
18
19
0 commit comments