Skip to content

Commit 439fe79

Browse files
authored
Merge pull request #10871 from Microsoft/fix10800
Fix issue with helper emit.
2 parents b526aa3 + cfe60fa commit 439fe79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/compiler/emitter.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,9 @@ const _super = (function (geti, seti) {
252252

253253
// Emit helpers from all the files
254254
if (isBundledEmit && moduleKind) {
255-
forEach(sourceFiles, emitEmitHelpers);
255+
for (const sourceFile of sourceFiles) {
256+
emitEmitHelpers(sourceFile);
257+
}
256258
}
257259

258260
// Print each transformed source file.

0 commit comments

Comments
 (0)