@@ -2646,7 +2646,7 @@ namespace ts {
2646
2646
return destEmitNode ;
2647
2647
}
2648
2648
2649
- function mergeTokenSourceMapRanges ( sourceRanges : SparseArray < TextRange > , destRanges : SparseArray < TextRange > ) {
2649
+ function mergeTokenSourceMapRanges ( sourceRanges : TextRange [ ] , destRanges : TextRange [ ] ) {
2650
2650
if ( ! destRanges ) destRanges = [ ] ;
2651
2651
for ( const key in sourceRanges ) {
2652
2652
destRanges [ key ] = sourceRanges [ key ] ;
@@ -3277,7 +3277,7 @@ namespace ts {
3277
3277
externalImports : ( ImportDeclaration | ImportEqualsDeclaration | ExportDeclaration ) [ ] ; // imports of other external modules
3278
3278
externalHelpersImportDeclaration : ImportDeclaration | undefined ; // import of external helpers
3279
3279
exportSpecifiers : Map < ExportSpecifier [ ] > ; // export specifiers by name
3280
- exportedBindings : SparseArray < Identifier [ ] > ; // exported names of local declarations
3280
+ exportedBindings : Identifier [ ] [ ] ; // exported names of local declarations
3281
3281
exportedNames : Identifier [ ] ; // all exported names local to module
3282
3282
exportEquals : ExportAssignment | undefined ; // an export= declaration if one was present
3283
3283
hasExportStarsToExportValues : boolean ; // whether this module contains export*
@@ -3286,7 +3286,7 @@ namespace ts {
3286
3286
export function collectExternalModuleInfo ( sourceFile : SourceFile , resolver : EmitResolver , compilerOptions : CompilerOptions ) : ExternalModuleInfo {
3287
3287
const externalImports : ( ImportDeclaration | ImportEqualsDeclaration | ExportDeclaration ) [ ] = [ ] ;
3288
3288
const exportSpecifiers = createMultiMap < ExportSpecifier > ( ) ;
3289
- const exportedBindings : SparseArray < Identifier [ ] > = [ ] ;
3289
+ const exportedBindings : Identifier [ ] [ ] = [ ] ;
3290
3290
const uniqueExports = createMap < boolean > ( ) ;
3291
3291
let exportedNames : Identifier [ ] ;
3292
3292
let hasExportDefault = false ;
@@ -3435,7 +3435,7 @@ namespace ts {
3435
3435
}
3436
3436
3437
3437
/** 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 [ ] {
3439
3439
let values = map [ key ] ;
3440
3440
if ( values ) {
3441
3441
values . push ( value ) ;
0 commit comments