Skip to content

Commit 6d755aa

Browse files
Accepted baselines.
1 parent 9df95fe commit 6d755aa

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

tests/baselines/reference/unionTypeErrorMessageTypeRefs01.errors.txt

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ tests/cases/compiler/unionTypeErrorMessageTypeRefs01.ts(27,1): error TS2322: Typ
1111
Type 'Foo' is not assignable to type 'Kwah'.
1212
Property 'kwah' is missing in type 'Foo'.
1313
tests/cases/compiler/unionTypeErrorMessageTypeRefs01.ts(48,1): error TS2322: Type 'X<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'.
14-
Type 'X<Foo>' is not assignable to type 'Z<Kwah>'.
15-
Property 'zProp' is missing in type 'X<Foo>'.
14+
Type 'X<Foo>' is not assignable to type 'X<Bar>'.
15+
Types of property 'xProp' are incompatible.
16+
Type 'Foo' is not assignable to type 'Bar'.
1617
tests/cases/compiler/unionTypeErrorMessageTypeRefs01.ts(49,1): error TS2322: Type 'Y<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'.
17-
Type 'Y<Foo>' is not assignable to type 'Z<Kwah>'.
18-
Property 'zProp' is missing in type 'Y<Foo>'.
18+
Type 'Y<Foo>' is not assignable to type 'Y<Baz>'.
19+
Types of property 'yProp' are incompatible.
20+
Type 'Foo' is not assignable to type 'Baz'.
1921
tests/cases/compiler/unionTypeErrorMessageTypeRefs01.ts(50,1): error TS2322: Type 'Z<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'.
2022
Type 'Z<Foo>' is not assignable to type 'Z<Kwah>'.
2123
Types of property 'zProp' are incompatible.
@@ -88,13 +90,15 @@ tests/cases/compiler/unionTypeErrorMessageTypeRefs01.ts(50,1): error TS2322: Typ
8890
thingOfTypeAliases = x;
8991
~~~~~~~~~~~~~~~~~~
9092
!!! error TS2322: Type 'X<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'.
91-
!!! error TS2322: Type 'X<Foo>' is not assignable to type 'Z<Kwah>'.
92-
!!! error TS2322: Property 'zProp' is missing in type 'X<Foo>'.
93+
!!! error TS2322: Type 'X<Foo>' is not assignable to type 'X<Bar>'.
94+
!!! error TS2322: Types of property 'xProp' are incompatible.
95+
!!! error TS2322: Type 'Foo' is not assignable to type 'Bar'.
9396
thingOfTypeAliases = y;
9497
~~~~~~~~~~~~~~~~~~
9598
!!! error TS2322: Type 'Y<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'.
96-
!!! error TS2322: Type 'Y<Foo>' is not assignable to type 'Z<Kwah>'.
97-
!!! error TS2322: Property 'zProp' is missing in type 'Y<Foo>'.
99+
!!! error TS2322: Type 'Y<Foo>' is not assignable to type 'Y<Baz>'.
100+
!!! error TS2322: Types of property 'yProp' are incompatible.
101+
!!! error TS2322: Type 'Foo' is not assignable to type 'Baz'.
98102
thingOfTypeAliases = z;
99103
~~~~~~~~~~~~~~~~~~
100104
!!! error TS2322: Type 'Z<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'.

0 commit comments

Comments
 (0)