@@ -2646,7 +2646,7 @@ namespace ts {
26462646 return destEmitNode ;
26472647 }
26482648
2649- function mergeTokenSourceMapRanges ( sourceRanges : SparseArray < TextRange > , destRanges : SparseArray < TextRange > ) {
2649+ function mergeTokenSourceMapRanges ( sourceRanges : TextRange [ ] , destRanges : TextRange [ ] ) {
26502650 if ( ! destRanges ) destRanges = [ ] ;
26512651 for ( const key in sourceRanges ) {
26522652 destRanges [ key ] = sourceRanges [ key ] ;
@@ -3277,7 +3277,7 @@ namespace ts {
32773277 externalImports : ( ImportDeclaration | ImportEqualsDeclaration | ExportDeclaration ) [ ] ; // imports of other external modules
32783278 externalHelpersImportDeclaration : ImportDeclaration | undefined ; // import of external helpers
32793279 exportSpecifiers : Map < ExportSpecifier [ ] > ; // export specifiers by name
3280- exportedBindings : SparseArray < Identifier [ ] > ; // exported names of local declarations
3280+ exportedBindings : Identifier [ ] [ ] ; // exported names of local declarations
32813281 exportedNames : Identifier [ ] ; // all exported names local to module
32823282 exportEquals : ExportAssignment | undefined ; // an export= declaration if one was present
32833283 hasExportStarsToExportValues : boolean ; // whether this module contains export*
@@ -3286,7 +3286,7 @@ namespace ts {
32863286 export function collectExternalModuleInfo ( sourceFile : SourceFile , resolver : EmitResolver , compilerOptions : CompilerOptions ) : ExternalModuleInfo {
32873287 const externalImports : ( ImportDeclaration | ImportEqualsDeclaration | ExportDeclaration ) [ ] = [ ] ;
32883288 const exportSpecifiers = createMultiMap < ExportSpecifier > ( ) ;
3289- const exportedBindings : SparseArray < Identifier [ ] > = [ ] ;
3289+ const exportedBindings : Identifier [ ] [ ] = [ ] ;
32903290 const uniqueExports = createMap < boolean > ( ) ;
32913291 let exportedNames : Identifier [ ] ;
32923292 let hasExportDefault = false ;
@@ -3435,7 +3435,7 @@ namespace ts {
34353435 }
34363436
34373437 /** Use a sparse array as a multi-map. */
3438- function multiMapSparseArrayAdd < V > ( map : SparseArray < V [ ] > , key : number , value : V ) : V [ ] {
3438+ function multiMapSparseArrayAdd < V > ( map : V [ ] [ ] , key : number , value : V ) : V [ ] {
34393439 let values = map [ key ] ;
34403440 if ( values ) {
34413441 values . push ( value ) ;
0 commit comments