TypeScript/tests/cases/compiler/functionTypeArgumentArrayAssignment.ts
2014-07-12 17:30:19 -07:00

8 lines
98 B
TypeScript

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