mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Fix captured const in downlevel for-await (#47680)
This commit is contained in:
1 parent
63d9d4c8bf
commit
21bbb576ad
3 files changed
+195
No files matched your search
@@ -722,6 +722,7 @@ namespace ts {
|
||||
),
|
||||
EmitFlags.NoTokenTrailingSourceMaps
|
||||
);
|
||||
setOriginalNode(forStatement, node);
|
||||
|
||||
return factory.createTryStatement(
|
||||
factory.createBlock([
|
||||
|
||||
Reference in new issue
Block a user