mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +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:
+5
@@ -0,0 +1,5 @@
|
||||
function a () {
|
||||
let x: number;
|
||||
let y: any
|
||||
({ x, ...y } = ({ } as any));
|
||||
}
|
||||
Reference in New Issue
Block a user