2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/genericArrayExtenstions.ts(1,22): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
|
|
|
|
tests/cases/compiler/genericArrayExtenstions.ts(1,22): error TS2421: Class 'ObservableArray<T>' incorrectly implements interface 'T[]':
|
|
|
|
Property 'length' is missing in type 'ObservableArray<T>'.
|
|
|
|
|
|
|
|
|
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
|
|
|
~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2421: Class 'ObservableArray<T>' incorrectly implements interface 'T[]':
|
|
|
|
!!! error TS2421: 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[];
|
|
|
|
}
|
|
|
|
|