Skip to content

Commit 90ed17b

Browse files
author
Yui T
committed
Fix formatting
1 parent 67eff65 commit 90ed17b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/compiler/emitter.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3253,12 +3253,13 @@ module ts {
32533253
else {
32543254
// targetSourceFile is specified (e.g calling emitter from language service or calling getSemanticDiagnostic from language service)
32553255
if (shouldEmitToOwnFile(targetSourceFile, compilerOptions)) {
3256-
// If shouldEmitToOwnFile return true or targetSourceFile is an external module file, then emit targetSourceFile in its own output file
3256+
// If shouldEmitToOwnFile returns true or targetSourceFile is an external module file, then emit targetSourceFile in its own output file
32573257
var jsFilePath = getOwnEmitOutputFilePath(targetSourceFile, ".js");
32583258
emitFile(jsFilePath, targetSourceFile);
32593259
}
32603260
else if (!isDeclarationFile(targetSourceFile) && compilerOptions.out) {
3261-
// Otherwise, if --out is specified and targetSourceFile shouldn't be emitted to own file, then emit all, non-external-module file, into one single output file
3261+
// Otherwise, if --out is specified and targetSourceFile shouldn't be emitted to own file,
3262+
// Emit all, non-external-module file, into one single output file
32623263
emitFile(compilerOptions.out);
32633264
}
32643265
}

0 commit comments

Comments
 (0)