TypeScript/tests/baselines/reference/genericArrayExtenstions.errors.txt
2014-09-11 16:11:08 -07:00

11 lines
606 B
Plaintext

==== tests/cases/compiler/genericArrayExtenstions.ts (2 errors) ====
export declare class ObservableArray<T> implements Array<T> { // MS.Entertainment.ObservableArray
~~~~~~~~~~~~~~~
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
~~~~~~~~~~~~~~~
!!! error TS2421: Class 'ObservableArray<T>' incorrectly implements interface 'T[]':
!!! error TS2421: Property 'length' is missing in type 'ObservableArray<T>'.
concat<U extends T[]>(...items: U[]): T[];
concat(...items: T[]): T[];
}