File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -30850,7 +30850,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
30850
30850
links.flags |= NodeCheckFlags.InCheckIdentifier;
30851
30851
const parentType = getTypeForBindingElementParent(parent, shouldSubstituteConstraints(type, location) ? CheckMode.Normal : CheckMode.SkipConstraintsSubstitution);
30852
30852
const parentNarrowableType = parentType && getNarrowableTypeForReference(parentType, location);
30853
-
30853
+
30854
30854
links.flags &= ~NodeCheckFlags.InCheckIdentifier;
30855
30855
if (parentNarrowableType && parentNarrowableType.flags & TypeFlags.Union && !(rootDeclaration.kind === SyntaxKind.Parameter && isSomeSymbolAssigned(rootDeclaration))) {
30856
30856
const pattern = declaration.parent;
You can’t perform that action at this time.
0 commit comments