2014-11-11 01:46:02 +01:00
|
|
|
tests/cases/compiler/redefineArray.ts(1,1): error TS2322: Type '(n: number, s: string) => number' is not assignable to type 'ArrayConstructor'.
|
2014-09-12 22:35:07 +02:00
|
|
|
Property 'isArray' is missing in type '(n: number, s: string) => number'.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/redefineArray.ts (1 errors) ====
|
|
|
|
Array = function (n:number, s:string) {return n;};
|
|
|
|
~~~~~
|
2014-11-11 01:46:02 +01:00
|
|
|
!!! error TS2322: Type '(n: number, s: string) => number' is not assignable to type 'ArrayConstructor'.
|
2014-11-05 21:26:03 +01:00
|
|
|
!!! error TS2322: Property 'isArray' is missing in type '(n: number, s: string) => number'.
|