3 lines
No EOL
66 B
TypeScript
3 lines
No EOL
66 B
TypeScript
declare function f<T>(p: (t: T) => T): T;
|
|
|
|
f((n: number) => n);
|