@@ -11,11 +11,13 @@ tests/cases/compiler/unionTypeErrorMessageTypeRefs01.ts(27,1): error TS2322: Typ
11
11
Type 'Foo' is not assignable to type 'Kwah'.
12
12
Property 'kwah' is missing in type 'Foo'.
13
13
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'.
16
17
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'.
19
21
tests/cases/compiler/unionTypeErrorMessageTypeRefs01.ts(50,1): error TS2322: Type 'Z<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'.
20
22
Type 'Z<Foo>' is not assignable to type 'Z<Kwah>'.
21
23
Types of property 'zProp' are incompatible.
@@ -88,13 +90,15 @@ tests/cases/compiler/unionTypeErrorMessageTypeRefs01.ts(50,1): error TS2322: Typ
88
90
thingOfTypeAliases = x;
89
91
~~~~~~~~~~~~~~~~~~
90
92
!!! 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'.
93
96
thingOfTypeAliases = y;
94
97
~~~~~~~~~~~~~~~~~~
95
98
!!! 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'.
98
102
thingOfTypeAliases = z;
99
103
~~~~~~~~~~~~~~~~~~
100
104
!!! error TS2322: Type 'Z<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'.
0 commit comments