mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 02:33:53 -06:00
Write line after helpers
This commit is contained in:
parent
3d04ff490d
commit
926810b704
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user