12 lines
265 B
Plaintext
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[] = [];
|
|
}
|
|
|