TypeScript/tests/cases/compiler/genericFunctionTypedArgumentsAreFixed.ts
2014-07-12 17:30:19 -07:00

2 lines
85 B
TypeScript

declare function map<T, U>(f: (x: T) => U, xs: T[]): U[];
map((a) => a.length, [1]);