mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-17 01:49:41 -05:00
Write line after helpers
This commit is contained in:
@@ -3684,7 +3684,9 @@ namespace ts {
|
||||
const statements = node.statements;
|
||||
pushNameGenerationScope(node);
|
||||
forEach(node.statements, generateNames);
|
||||
emitHelpers(node);
|
||||
if (emitHelpers(node)) {
|
||||
writeLine();
|
||||
}
|
||||
const index = findIndex(statements, statement => !isPrologueDirective(statement));
|
||||
emitTripleSlashDirectivesIfNeeded(node);
|
||||
emitList(node, statements, ListFormat.MultiLine, index === -1 ? statements.length : index);
|
||||
|
||||
Reference in New Issue
Block a user