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 88a9622 commit 7b56a71Copy full SHA for 7b56a71
src/compiler/checker.ts
@@ -21720,7 +21720,7 @@ namespace ts {
21720
let propertyTypeArray: Type[] | undefined;
21721
let notNullOrUndefinedFilter = false;
21722
const isExpressionContainOptionalChain = isAccessExpressionContainOptionalChain(expr);
21723
- let facts = switchFacts;
+ const facts = switchFacts;
21724
21725
if ((facts & 0b111111 && !(facts & TypeFacts.EQUndefined) || (facts & TypeFacts.NEUndefined))) {
21726
// not contains 'undefiend'
0 commit comments