File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -30078,7 +30078,7 @@ namespace ts {
30078
30078
}
30079
30079
30080
30080
function checkAliasSymbol(node: ImportEqualsDeclaration | ImportClause | NamespaceImport | ImportSpecifier | ExportSpecifier) {
30081
- const symbol = getSymbolOfNode(node);
30081
+ let symbol = getSymbolOfNode(node);
30082
30082
const target = resolveAlias(symbol);
30083
30083
30084
30084
const shouldSkipWithJSExpandoTargets = symbol.flags & SymbolFlags.Assignment;
@@ -30089,6 +30089,7 @@ namespace ts {
30089
30089
// Based on symbol.flags we can compute a set of excluded meanings (meaning that resolved alias should not have,
30090
30090
// otherwise it will conflict with some local declaration). Note that in addition to normal flags we include matching SymbolFlags.Export*
30091
30091
// in order to prevent collisions with declarations that were exported from the current module (they still contribute to local names).
30092
+ symbol = getMergedSymbol(symbol.exportSymbol || symbol);
30092
30093
const excludedMeanings =
30093
30094
(symbol.flags & (SymbolFlags.Value | SymbolFlags.ExportValue) ? SymbolFlags.Value : 0) |
30094
30095
(symbol.flags & SymbolFlags.Type ? SymbolFlags.Type : 0) |
You can’t perform that action at this time.
0 commit comments