File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -350,9 +350,9 @@ module ts {
350
350
}
351
351
else if (location.kind === SyntaxKind.SourceFile ||
352
352
(location.kind === SyntaxKind.ModuleDeclaration && (<ModuleDeclaration>location).name.kind === SyntaxKind.StringLiteral)) {
353
- result = getSymbol( getSymbolOfNode(location).exports, "default", meaning & SymbolFlags.ModuleMember) ;
353
+ result = getSymbolOfNode(location).exports[ "default"] ;
354
354
let localSymbol = getLocalSymbolForExportDefault(result);
355
- if (result && (result.flags & meaning) && localSymbol && localSymbol.name === name) {
355
+ if (result && localSymbol && (result.flags & meaning) && localSymbol.name === name) {
356
356
break loop;
357
357
}
358
358
result = undefined;
Original file line number Diff line number Diff line change @@ -1695,7 +1695,7 @@ module ts {
1695
1695
}
1696
1696
1697
1697
export function getLocalSymbolForExportDefault ( symbol : Symbol ) {
1698
- return symbol && symbol . valueDeclaration && ( symbol . valueDeclaration . flags & NodeFlags . Default ) ? symbol . valueDeclaration . localSymbol : undefined ;
1698
+ return symbol && symbol . valueDeclaration && ( symbol . valueDeclaration . flags & NodeFlags . Default ) ? symbol . valueDeclaration . localSymbol : undefined ;
1699
1699
}
1700
1700
1701
1701
/**
You can’t perform that action at this time.
0 commit comments