15 lines
227 B
JavaScript
15 lines
227 B
JavaScript
//// [functionTypeArgumentArrayAssignment.ts]
|
|
interface Array<T> {
|
|
foo: T;
|
|
length: number;
|
|
}
|
|
|
|
function map<U>() {
|
|
var ys: U[] = [];
|
|
}
|
|
|
|
|
|
//// [functionTypeArgumentArrayAssignment.js]
|
|
function map() {
|
|
var ys = [];
|
|
}
|