mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
2 lines
103 B
TypeScript
2 lines
103 B
TypeScript
declare function foo3(cb: (x: number) => number): typeof cb;
|
|
var r5 = foo3((x: number) => ''); // error
|