mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Fix captured const in downlevel for-await (#47680)
This commit is contained in:
@@ -722,6 +722,7 @@ namespace ts {
|
||||
),
|
||||
EmitFlags.NoTokenTrailingSourceMaps
|
||||
);
|
||||
setOriginalNode(forStatement, node);
|
||||
|
||||
return factory.createTryStatement(
|
||||
factory.createBlock([
|
||||
|
||||
Reference in New Issue
Block a user