diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 696d91b48f6..e1c59b9eea0 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -2102,7 +2102,7 @@ namespace ts { } else { for (const sourceFile of (sourceFileOrBundle as Bundle).sourceFiles) { - // Emit only the first Shebang with encounter + // Emit only the first encountered shebang if (emitShebangInSourceFile(sourceFile)) { break; }