TypeScript/tests/baselines/reference/redefineArray.errors.txt
Mohamed Hegazy 13a6487cd3 Merge branch 'master' into es6Typings
Conflicts:
	tests/baselines/reference/arrayTypeOfTypeOf.errors.txt
	tests/baselines/reference/redefineArray.errors.txt
2014-11-10 16:46:02 -08:00

9 lines
551 B
Plaintext

tests/cases/compiler/redefineArray.ts(1,1): error TS2322: Type '(n: number, s: string) => number' is not assignable to type 'ArrayConstructor'.
Property 'isArray' is missing in type '(n: number, s: string) => number'.
==== tests/cases/compiler/redefineArray.ts (1 errors) ====
Array = function (n:number, s:string) {return n;};
~~~~~
!!! error TS2322: Type '(n: number, s: string) => number' is not assignable to type 'ArrayConstructor'.
!!! error TS2322: Property 'isArray' is missing in type '(n: number, s: string) => number'.