mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-26 10:43:51 -05: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:
@@ -0,0 +1,5 @@
|
||||
function a () {
|
||||
let x: number;
|
||||
let y: any
|
||||
({ x, ...y } = ({ } as any));
|
||||
}
|
||||
Reference in New Issue
Block a user