2 lines
85 B
TypeScript
2 lines
85 B
TypeScript
|
declare function map<T, U>(f: (x: T) => U, xs: T[]): U[];
|
||
|
map((a) => a.length, [1]);
|