TypeScript/tests/baselines/reference/functionTypeArgumentArrayAssignment.errors.txt

12 lines
265 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/functionTypeArgumentArrayAssignment.ts (1 errors) ====
interface Array<T> {
foo: T;
length: number;
~~~~~~
!!! Duplicate identifier 'length'.
}
function map<U>() {
var ys: U[] = [];
}