9 lines
430 B
Text
9 lines
430 B
Text
=== tests/cases/compiler/genericInference1.ts ===
|
|
['a', 'b', 'c'].map(x => x.length);
|
|
>['a', 'b', 'c'].map : Symbol(Array.map, Decl(lib.d.ts, 1115, 92))
|
|
>map : Symbol(Array.map, Decl(lib.d.ts, 1115, 92))
|
|
>x : Symbol(x, Decl(genericInference1.ts, 0, 20))
|
|
>x.length : Symbol(String.length, Decl(lib.d.ts, 414, 19))
|
|
>x : Symbol(x, Decl(genericInference1.ts, 0, 20))
|
|
>length : Symbol(String.length, Decl(lib.d.ts, 414, 19))
|
|
|