TypeScript/tests/cases/compiler/functionTypeArgumentArrayAssignment.ts

11 lines
154 B
TypeScript

module test {
interface Array<T> {
foo: T;
length: number;
}
function map<U>() {
var ys: U[] = [];
}
}