4 lines
No EOL
160 B
TypeScript
4 lines
No EOL
160 B
TypeScript
declare function map<T, U>(x: T, f: () => { x: (s: T) => U }): U;
|
|
declare function identity<V>(y: V): V;
|
|
|
|
var s = map("", () => { return { x: identity }; }); |