Accepting new baselines

This commit is contained in:
Anders Hejlsberg 2016-01-24 15:44:29 -08:00
parent 7561642104
commit 0b1f0d867e

View file

@ -1,9 +1,7 @@
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,1): error TS2450: Left-hand side of assignment expression cannot be a constant or a read-only property.
==== 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'.
!!! error TS2450: Left-hand side of assignment expression cannot be a constant or a read-only property.