File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -663,7 +663,7 @@ module ts {
663
663
function bindExportAssignment ( node : ExportAssignment ) {
664
664
if ( ! container . symbol || ! container . symbol . exports ) {
665
665
// Export assignment in some sort of block construct
666
- bindAnonymousDeclaration ( node , SymbolFlags . Alias , "" ) ;
666
+ bindAnonymousDeclaration ( node , SymbolFlags . Alias , getDeclarationName ( node ) ) ;
667
667
}
668
668
else if ( node . expression . kind === SyntaxKind . Identifier ) {
669
669
// An export default clause with an identifier exports all meanings of that identifier
@@ -678,7 +678,7 @@ module ts {
678
678
function bindExportDeclaration ( node : ExportDeclaration ) {
679
679
if ( ! container . symbol || ! container . symbol . exports ) {
680
680
// Export * in some sort of block construct
681
- bindAnonymousDeclaration ( node , SymbolFlags . ExportStar , "" ) ;
681
+ bindAnonymousDeclaration ( node , SymbolFlags . ExportStar , getDeclarationName ( node ) ) ;
682
682
}
683
683
else if ( ! node . exportClause ) {
684
684
// All export * declarations are collected in an __export symbol
You can’t perform that action at this time.
0 commit comments