Files
tsgo/testdata/tests/cases/compiler/shorthandPropertyAssignmentNoCrash.ts

9 lines
165 B
TypeScript

// @noEmit: true
// https://github.com/microsoft/typescript-go/issues/3789
function ff(f: any) {
let g;
({ g = (x: any, y: any) => x + y } = f);
}