File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -17699,13 +17699,11 @@ namespace ts {
17699
17699
/*all meanings*/ SymbolFlags.Value | SymbolFlags.Type | SymbolFlags.Namespace | SymbolFlags.Alias);
17700
17700
}
17701
17701
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);
17709
17707
}
17710
17708
17711
17709
if (isRightSideOfQualifiedNameOrPropertyAccess(entityName)) {
You can’t perform that action at this time.
0 commit comments