mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-19 00:42:28 -05:00
This commit is contained in:
@@ -304,6 +304,11 @@ namespace ts {
|
||||
bodyLocation = node.statement;
|
||||
statementsLocation = node.statement.statements;
|
||||
}
|
||||
else if (node.statement) {
|
||||
append(statements, node.statement);
|
||||
bodyLocation = node.statement;
|
||||
statementsLocation = node.statement;
|
||||
}
|
||||
return updateForOf(
|
||||
node,
|
||||
node.awaitModifier,
|
||||
|
||||
Reference in New Issue
Block a user