@@ -49148,11 +49148,11 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
49148
49148
}
49149
49149
else if (isEntityName(name) && isTypeReferenceIdentifier(name)) {
49150
49150
const meaning = name.parent.kind === SyntaxKind.TypeReference ? SymbolFlags.Type : SymbolFlags.Namespace;
49151
- const symbol = resolveEntityName(name, meaning, /*ignoreErrors*/ false , /*dontResolveAlias*/ true);
49151
+ const symbol = resolveEntityName(name, meaning, /*ignoreErrors*/ true , /*dontResolveAlias*/ true);
49152
49152
return symbol && symbol !== unknownSymbol ? symbol : getUnresolvedSymbolForEntityName(name);
49153
49153
}
49154
49154
if (name.parent.kind === SyntaxKind.TypePredicate) {
49155
- return resolveEntityName(name as Identifier, /*meaning*/ SymbolFlags.FunctionScopedVariable);
49155
+ return resolveEntityName(name as Identifier, /*meaning*/ SymbolFlags.FunctionScopedVariable, /*ignoreErrors*/ true );
49156
49156
}
49157
49157
return undefined;
49158
49158
}
@@ -49383,7 +49383,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
49383
49383
49384
49384
function getShorthandAssignmentValueSymbol(location: Node | undefined): Symbol | undefined {
49385
49385
if (location && location.kind === SyntaxKind.ShorthandPropertyAssignment) {
49386
- return resolveEntityName((location as ShorthandPropertyAssignment).name, SymbolFlags.Value | SymbolFlags.Alias);
49386
+ return resolveEntityName((location as ShorthandPropertyAssignment).name, SymbolFlags.Value | SymbolFlags.Alias, /*ignoreErrors*/ true );
49387
49387
}
49388
49388
return undefined;
49389
49389
}
@@ -49395,10 +49395,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
49395
49395
return node.parent.parent.moduleSpecifier ?
49396
49396
getExternalModuleMember(node.parent.parent, node) :
49397
49397
name.kind === SyntaxKind.StringLiteral ? undefined : // Skip for invalid syntax like this: export { "x" }
49398
- resolveEntityName(name, SymbolFlags.Value | SymbolFlags.Type | SymbolFlags.Namespace | SymbolFlags.Alias);
49398
+ resolveEntityName(name, SymbolFlags.Value | SymbolFlags.Type | SymbolFlags.Namespace | SymbolFlags.Alias, /*ignoreErrors*/ true );
49399
49399
}
49400
49400
else {
49401
- return resolveEntityName(node, SymbolFlags.Value | SymbolFlags.Type | SymbolFlags.Namespace | SymbolFlags.Alias);
49401
+ return resolveEntityName(node, SymbolFlags.Value | SymbolFlags.Type | SymbolFlags.Namespace | SymbolFlags.Alias, /*ignoreErrors*/ true );
49402
49402
}
49403
49403
}
49404
49404
0 commit comments