File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17699,13 +17699,11 @@ namespace ts {
1769917699 /*all meanings*/ SymbolFlags.Value | SymbolFlags.Type | SymbolFlags.Namespace | SymbolFlags.Alias);
1770017700 }
1770117701
17702- if (entityName.kind !== SyntaxKind.PropertyAccessExpression) {
17703- if (isInRightSideOfImportOrExportAssignment(<EntityName>entityName)) {
17704- // Since we already checked for ExportAssignment, this really could only be an Import
17705- const importEqualsDeclaration = <ImportEqualsDeclaration>getAncestor(entityName, SyntaxKind.ImportEqualsDeclaration);
17706- Debug.assert(importEqualsDeclaration !== undefined);
17707- return getSymbolOfPartOfRightHandSideOfImportEquals(<EntityName>entityName, importEqualsDeclaration, /*dontResolveAlias*/ true);
17708- }
17702+ if (entityName.kind !== SyntaxKind.PropertyAccessExpression && isInRightSideOfImportOrExportAssignment(<EntityName>entityName)) {
17703+ // Since we already checked for ExportAssignment, this really could only be an Import
17704+ const importEqualsDeclaration = <ImportEqualsDeclaration>getAncestor(entityName, SyntaxKind.ImportEqualsDeclaration);
17705+ Debug.assert(importEqualsDeclaration !== undefined);
17706+ return getSymbolOfPartOfRightHandSideOfImportEquals(<EntityName>entityName, importEqualsDeclaration, /*dontResolveAlias*/ true);
1770917707 }
1771017708
1771117709 if (isRightSideOfQualifiedNameOrPropertyAccess(entityName)) {
You can’t perform that action at this time.
0 commit comments