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