5 lines
114 B
TypeScript
5 lines
114 B
TypeScript
|
declare function f(n: number): void;
|
||
|
declare function f(cb: () => (n: number) => number): void;
|
||
|
|
||
|
f(() => n => n);
|