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