mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
165 B
TypeScript
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);
|
|
}
|