2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/genericArrayExtenstions.ts (2 errors) ====
|
|
|
|
export declare class ObservableArray<T> implements Array<T> { // MS.Entertainment.ObservableArray
|
2014-07-19 02:30:06 +02:00
|
|
|
~~~~~~~~~~~~~~~
|
|
|
|
!!! Cannot compile external modules unless the '--module' flag is provided.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~~~~~~~~~~~~~
|
|
|
|
!!! Class 'ObservableArray<T>' incorrectly implements interface 'T[]':
|
2014-08-12 20:13:15 +02:00
|
|
|
!!! Property 'length' is missing in type 'ObservableArray<T>'.
|
2014-07-13 01:04:16 +02:00
|
|
|
concat<U extends T[]>(...items: U[]): T[];
|
|
|
|
concat(...items: T[]): T[];
|
|
|
|
}
|
|
|
|
|