We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34a0217 commit ce3e87dCopy full SHA for ce3e87d
1 file changed
src/compiler/sourcemap.ts
@@ -265,12 +265,10 @@ namespace ts {
265
}
266
267
function serializeMappings(): void {
268
- const segments: string[] = [];
269
for (let i = 0, len = mappingCharCodes.length; i < len; i += 1024) {
270
- segments.push(String.fromCharCode.apply(undefined, mappingCharCodes.slice(i, i + 1024)));
+ mappings += String.fromCharCode.apply(undefined, mappingCharCodes.slice(i, i + 1024));
271
272
mappingCharCodes.length = 0;
273
- mappings += segments.join("");
274
275
276
function toJSON(): RawSourceMap {
0 commit comments