mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +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
|