5 lines
No EOL
258 B
Text
5 lines
No EOL
258 B
Text
==== tests/cases/compiler/genericFunctionTypedArgumentsAreFixed.ts (1 errors) ====
|
|
declare function map<T, U>(f: (x: T) => U, xs: T[]): U[];
|
|
map((a) => a.length, [1]);
|
|
~~~~~~
|
|
!!! Property 'length' does not exist on type 'number'. |