swc/crates/swc_ecma_parser/tests/tsc/destructuringObjectBindingPatternAndAssignment5.ts

6 lines
86 B
TypeScript

function a () {
let x: number;
let y: any
({ x, ...y } = ({ } as any));
}