TypeScript/tests/baselines/reference/functionTypeArgumentArrayAssignment.errors.txt
2014-07-12 17:30:19 -07:00

12 lines
265 B
Plaintext

==== tests/cases/compiler/functionTypeArgumentArrayAssignment.ts (1 errors) ====
interface Array<T> {
foo: T;
length: number;
~~~~~~
!!! Duplicate identifier 'length'.
}
function map<U>() {
var ys: U[] = [];
}