mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
206 B
TypeScript
9 lines
206 B
TypeScript
//// [tests/cases/compiler/genericInference1.ts] ////
|
|
|
|
//// [genericInference1.ts]
|
|
['a', 'b', 'c'].map(x => x.length);
|
|
|
|
//// [genericInference1.js]
|
|
"use strict";
|
|
['a', 'b', 'c'].map(x => x.length);
|