mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-16 05:58:32 -06:00
Fixed multiline block for async functions
This commit is contained in:
parent
af4580bbe3
commit
5443d309d5
@ -2004,7 +2004,7 @@ namespace ts {
|
||||
)
|
||||
);
|
||||
|
||||
const block = createBlock(statements, /*location*/ node.body);
|
||||
const block = createBlock(statements, /*location*/ node.body, /*multiLine*/ true);
|
||||
|
||||
// Minor optimization, emit `_super` helper to capture `super` access in an arrow.
|
||||
// This step isn't needed if we eventually transform this to ES5.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user