mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Merge pull request #23956 from Kingwl/emit-var-at-top
emit temporary vars at the top of the scope
This commit is contained in:
307 files changed
+11824
-11746
No files matched your search
+5
@@ -0,0 +1,5 @@
|
||||
function a () {
|
||||
let x: number;
|
||||
let y: any
|
||||
({ x, ...y } = ({ } as any));
|
||||
}
|
||||
Reference in new issue
Block a user