5 lines
86 B
TypeScript
5 lines
86 B
TypeScript
function a () {
|
|
let x: number;
|
|
let y: any
|
|
({ x, ...y } = ({ } as any));
|
|
}
|