mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Emit new lines between source files emit so that the file contents always start on new line
Fixes #500
This commit is contained in:
1 parent
753364768e
commit
3e2de14933
6 files changed
+221
No files matched your search
@@ -1925,6 +1925,8 @@ module ts {
|
||||
|
||||
function emitSourceFile(node: SourceFile) {
|
||||
currentSourceFile = node;
|
||||
// Start new file on new line
|
||||
writeLine();
|
||||
emitDetachedComments(node);
|
||||
// emit prologue directives prior to __extends
|
||||
var startIndex = emitDirectivePrologues(node.statements, /*startWithNewLine*/ false);
|
||||
|
||||
Reference in new issue
Block a user