Skip to content

Commit dea9f3e

Browse files
committed
update baselines
1 parent 8aebf29 commit dea9f3e

File tree

265 files changed

+1142
-1142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

265 files changed

+1142
-1142
lines changed

tests/baselines/reference/2dArrays.symbols

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ class Board {
2525
>allShipsSunk : Symbol(Board.allShipsSunk, Decl(2dArrays.ts, 9, 18))
2626

2727
return this.ships.every(function (val) { return val.isSunk; });
28-
>this.ships.every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
28+
>this.ships.every : Symbol(ReadonlyArray.every, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
2929
>this.ships : Symbol(Board.ships, Decl(2dArrays.ts, 7, 13))
3030
>this : Symbol(Board, Decl(2dArrays.ts, 5, 1))
3131
>ships : Symbol(Board.ships, Decl(2dArrays.ts, 7, 13))
32-
>every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
32+
>every : Symbol(ReadonlyArray.every, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
3333
>val : Symbol(val, Decl(2dArrays.ts, 12, 42))
3434
>val.isSunk : Symbol(Ship.isSunk, Decl(2dArrays.ts, 3, 12))
3535
>val : Symbol(val, Decl(2dArrays.ts, 12, 42))

tests/baselines/reference/2dArrays.types

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ class Board {
2424

2525
return this.ships.every(function (val) { return val.isSunk; });
2626
>this.ships.every(function (val) { return val.isSunk; }) : boolean
27-
>this.ships.every : { <S extends Ship>(predicate: (value: Ship, index: number, array: Ship[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: Ship, index: number, array: Ship[]) => unknown, thisArg?: any): boolean; }
27+
>this.ships.every : { <S extends Ship>(predicate: (value: Ship, index: number, array: readonly Ship[]) => value is S, thisArg?: any): this is readonly S[]; (predicate: (value: Ship, index: number, array: readonly Ship[]) => unknown, thisArg?: any): boolean; }
2828
>this.ships : Ship[]
2929
>this : this
3030
>ships : Ship[]
31-
>every : { <S extends Ship>(predicate: (value: Ship, index: number, array: Ship[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: Ship, index: number, array: Ship[]) => unknown, thisArg?: any): boolean; }
31+
>every : { <S extends Ship>(predicate: (value: Ship, index: number, array: readonly Ship[]) => value is S, thisArg?: any): this is readonly S[]; (predicate: (value: Ship, index: number, array: readonly Ship[]) => unknown, thisArg?: any): boolean; }
3232
>function (val) { return val.isSunk; } : (val: Ship) => boolean
3333
>val : Ship
3434
>val.isSunk : boolean

tests/baselines/reference/anyInferenceAnonymousFunctions.symbols

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ var paired: any[];
33
>paired : Symbol(paired, Decl(anyInferenceAnonymousFunctions.ts, 0, 3))
44

55
paired.reduce(function (a1, a2) {
6-
>paired.reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
6+
>paired.reduce : Symbol(ReadonlyArray.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
77
>paired : Symbol(paired, Decl(anyInferenceAnonymousFunctions.ts, 0, 3))
8-
>reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
8+
>reduce : Symbol(ReadonlyArray.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
99
>a1 : Symbol(a1, Decl(anyInferenceAnonymousFunctions.ts, 2, 24))
1010
>a2 : Symbol(a2, Decl(anyInferenceAnonymousFunctions.ts, 2, 27))
1111

@@ -15,9 +15,9 @@ paired.reduce(function (a1, a2) {
1515
} , []);
1616

1717
paired.reduce((b1, b2) => {
18-
>paired.reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
18+
>paired.reduce : Symbol(ReadonlyArray.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
1919
>paired : Symbol(paired, Decl(anyInferenceAnonymousFunctions.ts, 0, 3))
20-
>reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
20+
>reduce : Symbol(ReadonlyArray.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
2121
>b1 : Symbol(b1, Decl(anyInferenceAnonymousFunctions.ts, 8, 15))
2222
>b2 : Symbol(b2, Decl(anyInferenceAnonymousFunctions.ts, 8, 18))
2323

@@ -27,24 +27,24 @@ paired.reduce((b1, b2) => {
2727
} , []);
2828

2929
paired.reduce((b3, b4) => b3.concat({}), []);
30-
>paired.reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
30+
>paired.reduce : Symbol(ReadonlyArray.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
3131
>paired : Symbol(paired, Decl(anyInferenceAnonymousFunctions.ts, 0, 3))
32-
>reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
32+
>reduce : Symbol(ReadonlyArray.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
3333
>b3 : Symbol(b3, Decl(anyInferenceAnonymousFunctions.ts, 13, 15))
3434
>b4 : Symbol(b4, Decl(anyInferenceAnonymousFunctions.ts, 13, 18))
3535
>b3 : Symbol(b3, Decl(anyInferenceAnonymousFunctions.ts, 13, 15))
3636

3737
paired.map((c1) => c1.count);
38-
>paired.map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --))
38+
>paired.map : Symbol(ReadonlyArray.map, Decl(lib.es5.d.ts, --, --))
3939
>paired : Symbol(paired, Decl(anyInferenceAnonymousFunctions.ts, 0, 3))
40-
>map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --))
40+
>map : Symbol(ReadonlyArray.map, Decl(lib.es5.d.ts, --, --))
4141
>c1 : Symbol(c1, Decl(anyInferenceAnonymousFunctions.ts, 15, 12))
4242
>c1 : Symbol(c1, Decl(anyInferenceAnonymousFunctions.ts, 15, 12))
4343

4444
paired.map(function (c2) { return c2.count; });
45-
>paired.map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --))
45+
>paired.map : Symbol(ReadonlyArray.map, Decl(lib.es5.d.ts, --, --))
4646
>paired : Symbol(paired, Decl(anyInferenceAnonymousFunctions.ts, 0, 3))
47-
>map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --))
47+
>map : Symbol(ReadonlyArray.map, Decl(lib.es5.d.ts, --, --))
4848
>c2 : Symbol(c2, Decl(anyInferenceAnonymousFunctions.ts, 16, 21))
4949
>c2 : Symbol(c2, Decl(anyInferenceAnonymousFunctions.ts, 16, 21))
5050

tests/baselines/reference/anyInferenceAnonymousFunctions.types

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ var paired: any[];
44

55
paired.reduce(function (a1, a2) {
66
>paired.reduce(function (a1, a2) { return a1.concat({});} , []) : any
7-
>paired.reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any, initialValue: any): any; <U>(callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: any[]) => U, initialValue: U): U; }
7+
>paired.reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: readonly any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: readonly any[]) => any, initialValue: any): any; <U>(callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: readonly any[]) => U, initialValue: U): U; }
88
>paired : any[]
9-
>reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any, initialValue: any): any; <U>(callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: any[]) => U, initialValue: U): U; }
9+
>reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: readonly any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: readonly any[]) => any, initialValue: any): any; <U>(callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: readonly any[]) => U, initialValue: U): U; }
1010
>function (a1, a2) { return a1.concat({});} : (a1: any, a2: any) => any
1111
>a1 : any
1212
>a2 : any
@@ -23,9 +23,9 @@ paired.reduce(function (a1, a2) {
2323

2424
paired.reduce((b1, b2) => {
2525
>paired.reduce((b1, b2) => { return b1.concat({});} , []) : any
26-
>paired.reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any, initialValue: any): any; <U>(callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: any[]) => U, initialValue: U): U; }
26+
>paired.reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: readonly any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: readonly any[]) => any, initialValue: any): any; <U>(callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: readonly any[]) => U, initialValue: U): U; }
2727
>paired : any[]
28-
>reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any, initialValue: any): any; <U>(callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: any[]) => U, initialValue: U): U; }
28+
>reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: readonly any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: readonly any[]) => any, initialValue: any): any; <U>(callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: readonly any[]) => U, initialValue: U): U; }
2929
>(b1, b2) => { return b1.concat({});} : (b1: any, b2: any) => any
3030
>b1 : any
3131
>b2 : any
@@ -42,9 +42,9 @@ paired.reduce((b1, b2) => {
4242

4343
paired.reduce((b3, b4) => b3.concat({}), []);
4444
>paired.reduce((b3, b4) => b3.concat({}), []) : any
45-
>paired.reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any, initialValue: any): any; <U>(callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: any[]) => U, initialValue: U): U; }
45+
>paired.reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: readonly any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: readonly any[]) => any, initialValue: any): any; <U>(callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: readonly any[]) => U, initialValue: U): U; }
4646
>paired : any[]
47-
>reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any, initialValue: any): any; <U>(callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: any[]) => U, initialValue: U): U; }
47+
>reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: readonly any[]) => any): any; (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: readonly any[]) => any, initialValue: any): any; <U>(callbackfn: (previousValue: U, currentValue: any, currentIndex: number, array: readonly any[]) => U, initialValue: U): U; }
4848
>(b3, b4) => b3.concat({}) : (b3: any, b4: any) => any
4949
>b3 : any
5050
>b4 : any
@@ -57,9 +57,9 @@ paired.reduce((b3, b4) => b3.concat({}), []);
5757

5858
paired.map((c1) => c1.count);
5959
>paired.map((c1) => c1.count) : any[]
60-
>paired.map : <U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]
60+
>paired.map : <U>(callbackfn: (value: any, index: number, array: readonly any[]) => U, thisArg?: any) => U[]
6161
>paired : any[]
62-
>map : <U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]
62+
>map : <U>(callbackfn: (value: any, index: number, array: readonly any[]) => U, thisArg?: any) => U[]
6363
>(c1) => c1.count : (c1: any) => any
6464
>c1 : any
6565
>c1.count : any
@@ -68,9 +68,9 @@ paired.map((c1) => c1.count);
6868

6969
paired.map(function (c2) { return c2.count; });
7070
>paired.map(function (c2) { return c2.count; }) : any[]
71-
>paired.map : <U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]
71+
>paired.map : <U>(callbackfn: (value: any, index: number, array: readonly any[]) => U, thisArg?: any) => U[]
7272
>paired : any[]
73-
>map : <U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]
73+
>map : <U>(callbackfn: (value: any, index: number, array: readonly any[]) => U, thisArg?: any) => U[]
7474
>function (c2) { return c2.count; } : (c2: any) => any
7575
>c2 : any
7676
>c2.count : any

tests/baselines/reference/argumentsAsPropertyName.symbols

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ function myFunction(myType: MyType) {
3434
>x : Symbol(x, Decl(argumentsAsPropertyName.ts, 11, 13))
3535

3636
[1, 2, 3].forEach(function(j) { use(x); })
37-
>[1, 2, 3].forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --))
38-
>forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --))
37+
>[1, 2, 3].forEach : Symbol(ReadonlyArray.forEach, Decl(lib.es5.d.ts, --, --))
38+
>forEach : Symbol(ReadonlyArray.forEach, Decl(lib.es5.d.ts, --, --))
3939
>j : Symbol(j, Decl(argumentsAsPropertyName.ts, 12, 35))
4040
>use : Symbol(use, Decl(argumentsAsPropertyName.ts, 3, 1))
4141
>x : Symbol(x, Decl(argumentsAsPropertyName.ts, 11, 13))

tests/baselines/reference/argumentsAsPropertyName.types

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ function myFunction(myType: MyType) {
4040

4141
[1, 2, 3].forEach(function(j) { use(x); })
4242
>[1, 2, 3].forEach(function(j) { use(x); }) : void
43-
>[1, 2, 3].forEach : (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void
43+
>[1, 2, 3].forEach : (callbackfn: (value: number, index: number, array: readonly number[]) => void, thisArg?: any) => void
4444
>[1, 2, 3] : number[]
4545
>1 : 1
4646
>2 : 2
4747
>3 : 3
48-
>forEach : (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void
48+
>forEach : (callbackfn: (value: number, index: number, array: readonly number[]) => void, thisArg?: any) => void
4949
>function(j) { use(x); } : (j: number) => void
5050
>j : number
5151
>use(x) : any

tests/baselines/reference/argumentsAsPropertyName2.symbols

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ function foo() {
1313
>i : Symbol(i, Decl(argumentsAsPropertyName2.ts, 4, 11))
1414

1515
[].forEach(function () { i });
16-
>[].forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --))
17-
>forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --))
16+
>[].forEach : Symbol(ReadonlyArray.forEach, Decl(lib.es5.d.ts, --, --))
17+
>forEach : Symbol(ReadonlyArray.forEach, Decl(lib.es5.d.ts, --, --))
1818
>i : Symbol(i, Decl(argumentsAsPropertyName2.ts, 4, 11))
1919

2020
({ arguments: 0 });

tests/baselines/reference/argumentsAsPropertyName2.types

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ function foo() {
1818

1919
[].forEach(function () { i });
2020
>[].forEach(function () { i }) : void
21-
>[].forEach : (callbackfn: (value: any, index: number, array: any[]) => void, thisArg?: any) => void
21+
>[].forEach : (callbackfn: (value: any, index: number, array: readonly any[]) => void, thisArg?: any) => void
2222
>[] : undefined[]
23-
>forEach : (callbackfn: (value: any, index: number, array: any[]) => void, thisArg?: any) => void
23+
>forEach : (callbackfn: (value: any, index: number, array: readonly any[]) => void, thisArg?: any) => void
2424
>function () { i } : () => void
2525
>i : number
2626

tests/baselines/reference/arrayAssignmentTest1.errors.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ tests/cases/compiler/arrayAssignmentTest1.ts(76,1): error TS2322: Type 'C1[]' is
2020
Property 'CM3M1' is missing in type 'C1' but required in type 'C3'.
2121
tests/cases/compiler/arrayAssignmentTest1.ts(77,1): error TS2322: Type 'I1[]' is not assignable to type 'C3[]'.
2222
Property 'CM3M1' is missing in type 'I1' but required in type 'C3'.
23-
tests/cases/compiler/arrayAssignmentTest1.ts(79,1): error TS2740: Type '() => C1' is missing the following properties from type 'any[]': pop, push, concat, join, and 15 more.
24-
tests/cases/compiler/arrayAssignmentTest1.ts(80,1): error TS2740: Type '{ one: number; }' is missing the following properties from type 'any[]': length, pop, push, concat, and 16 more.
25-
tests/cases/compiler/arrayAssignmentTest1.ts(82,1): error TS2740: Type 'C1' is missing the following properties from type 'any[]': length, pop, push, concat, and 16 more.
26-
tests/cases/compiler/arrayAssignmentTest1.ts(83,1): error TS2740: Type 'C2' is missing the following properties from type 'any[]': length, pop, push, concat, and 16 more.
27-
tests/cases/compiler/arrayAssignmentTest1.ts(84,1): error TS2740: Type 'C3' is missing the following properties from type 'any[]': length, pop, push, concat, and 16 more.
28-
tests/cases/compiler/arrayAssignmentTest1.ts(85,1): error TS2740: Type 'I1' is missing the following properties from type 'any[]': length, pop, push, concat, and 16 more.
23+
tests/cases/compiler/arrayAssignmentTest1.ts(79,1): error TS2740: Type '() => C1' is missing the following properties from type 'any[]': pop, push, reverse, shift, and 15 more.
24+
tests/cases/compiler/arrayAssignmentTest1.ts(80,1): error TS2740: Type '{ one: number; }' is missing the following properties from type 'any[]': length, pop, push, reverse, and 16 more.
25+
tests/cases/compiler/arrayAssignmentTest1.ts(82,1): error TS2740: Type 'C1' is missing the following properties from type 'any[]': length, pop, push, reverse, and 16 more.
26+
tests/cases/compiler/arrayAssignmentTest1.ts(83,1): error TS2740: Type 'C2' is missing the following properties from type 'any[]': length, pop, push, reverse, and 16 more.
27+
tests/cases/compiler/arrayAssignmentTest1.ts(84,1): error TS2740: Type 'C3' is missing the following properties from type 'any[]': length, pop, push, reverse, and 16 more.
28+
tests/cases/compiler/arrayAssignmentTest1.ts(85,1): error TS2740: Type 'I1' is missing the following properties from type 'any[]': length, pop, push, reverse, and 16 more.
2929

3030

3131
==== tests/cases/compiler/arrayAssignmentTest1.ts (19 errors) ====
@@ -152,20 +152,20 @@ tests/cases/compiler/arrayAssignmentTest1.ts(85,1): error TS2740: Type 'I1' is m
152152

153153
arr_any = f1; // should be an error - is
154154
~~~~~~~
155-
!!! error TS2740: Type '() => C1' is missing the following properties from type 'any[]': pop, push, concat, join, and 15 more.
155+
!!! error TS2740: Type '() => C1' is missing the following properties from type 'any[]': pop, push, reverse, shift, and 15 more.
156156
arr_any = o1; // should be an error - is
157157
~~~~~~~
158-
!!! error TS2740: Type '{ one: number; }' is missing the following properties from type 'any[]': length, pop, push, concat, and 16 more.
158+
!!! error TS2740: Type '{ one: number; }' is missing the following properties from type 'any[]': length, pop, push, reverse, and 16 more.
159159
arr_any = a1; // should be ok - is
160160
arr_any = c1; // should be an error - is
161161
~~~~~~~
162-
!!! error TS2740: Type 'C1' is missing the following properties from type 'any[]': length, pop, push, concat, and 16 more.
162+
!!! error TS2740: Type 'C1' is missing the following properties from type 'any[]': length, pop, push, reverse, and 16 more.
163163
arr_any = c2; // should be an error - is
164164
~~~~~~~
165-
!!! error TS2740: Type 'C2' is missing the following properties from type 'any[]': length, pop, push, concat, and 16 more.
165+
!!! error TS2740: Type 'C2' is missing the following properties from type 'any[]': length, pop, push, reverse, and 16 more.
166166
arr_any = c3; // should be an error - is
167167
~~~~~~~
168-
!!! error TS2740: Type 'C3' is missing the following properties from type 'any[]': length, pop, push, concat, and 16 more.
168+
!!! error TS2740: Type 'C3' is missing the following properties from type 'any[]': length, pop, push, reverse, and 16 more.
169169
arr_any = i1; // should be an error - is
170170
~~~~~~~
171-
!!! error TS2740: Type 'I1' is missing the following properties from type 'any[]': length, pop, push, concat, and 16 more.
171+
!!! error TS2740: Type 'I1' is missing the following properties from type 'any[]': length, pop, push, reverse, and 16 more.

0 commit comments

Comments
 (0)