You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/compiler/types.ts
+1-1
Original file line number
Diff line number
Diff line change
@@ -5571,7 +5571,7 @@ namespace ts {
5571
5571
deferredNodes?: Set<Node>;// Set of nodes whose checking has been deferred
5572
5572
capturedBlockScopeBindings?: Symbol[];// Block-scoped bindings captured beneath this part of an IterationStatement
5573
5573
outerTypeParameters?: TypeParameter[];// Outer type parameters of anonymous object type
5574
-
isExhaustive?: boolean;// Is node an exhaustive switch statement
5574
+
isExhaustive?: boolean|0;// Is node an exhaustive switch statement (0 indicates in-process resolution)
5575
5575
skipDirectInference?: true;// Flag set by the API `getContextualType` call on a node when `Completions` is passed to force the checker to skip making inferences to a node's type
5576
5576
declarationRequiresScopeChange?: boolean;// Set by `useOuterVariableScopeInParameter` in checker when downlevel emit would change the name resolution scope inside of a parameter.
5577
5577
serializedTypes?: ESMap<string,TypeNode&{truncating?: boolean,addedLength: number}>;// Collection of types serialized at this location
tests/cases/compiler/exhaustiveSwitchCheckCircularity.ts(14,26): error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'.
0 commit comments