Skip to content

Commit c0e802d

Browse files
committed
Accepting new baselines after merge.
1 parent 0cf503f commit c0e802d

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

tests/baselines/reference/tupleTypes.errors.txt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,16 @@
6262
a = a1; // Error
6363
~
6464
!!! Type '[number, string]' is not assignable to type 'number[]':
65-
!!! Types of property 'concat' are incompatible:
66-
!!! Type '{ <U extends {}[]>(...items: U[]): {}[]; (...items: {}[]): {}[]; }' is not assignable to type '{ <U extends number[]>(...items: U[]): number[]; (...items: number[]): number[]; }':
67-
!!! Type '{}[]' is not assignable to type 'number[]':
68-
!!! Type '{}' is not assignable to type 'number'.
65+
!!! Types of property 'pop' are incompatible:
66+
!!! Type '() => {}' is not assignable to type '() => number':
67+
!!! Type '{}' is not assignable to type 'number'.
6968
a = a2;
7069
a = a3; // Error
7170
~
7271
!!! Type '[number, {}]' is not assignable to type 'number[]':
73-
!!! Types of property 'concat' are incompatible:
74-
!!! Type '{ <U extends {}[]>(...items: U[]): {}[]; (...items: {}[]): {}[]; }' is not assignable to type '{ <U extends number[]>(...items: U[]): number[]; (...items: number[]): number[]; }':
75-
!!! Type '{}[]' is not assignable to type 'number[]':
76-
!!! Type '{}' is not assignable to type 'number'.
72+
!!! Types of property 'pop' are incompatible:
73+
!!! Type '() => {}' is not assignable to type '() => number':
74+
!!! Type '{}' is not assignable to type 'number'.
7775
a1 = a2; // Error
7876
~~
7977
!!! Type '[number, number]' is not assignable to type '[number, string]':

0 commit comments

Comments
 (0)