File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ module ts {
7474 isImplementationOfOverload,
7575 getAliasedSymbol: resolveAlias,
7676 getEmitResolver,
77- getExportsOfModule: moduleSymbol => symbolsToArray(getExportsOfModule(moduleSymbol)) ,
77+ getExportsOfModule: getExportsOfModuleAsArray ,
7878 };
7979
8080 let unknownSymbol = createSymbol(SymbolFlags.Property | SymbolFlags.Transient, "unknown");
@@ -872,6 +872,10 @@ module ts {
872872 return moduleSymbol.exports["export="];
873873 }
874874
875+ function getExportsOfModuleAsArray(moduleSymbol: Symbol): Symbol[] {
876+ return symbolsToArray(getExportsOfModule(moduleSymbol));
877+ }
878+
875879 function getExportsOfSymbol(symbol: Symbol): SymbolTable {
876880 return symbol.flags & SymbolFlags.Module ? getExportsOfModule(symbol) : symbol.exports || emptySymbols;
877881 }
You can’t perform that action at this time.
0 commit comments