mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-09 16:39:46 -05:00
Accepted baselines.
This commit is contained in:
@@ -11,11 +11,13 @@ tests/cases/compiler/unionTypeErrorMessageTypeRefs01.ts(27,1): error TS2322: Typ
|
||||
Type 'Foo' is not assignable to type 'Kwah'.
|
||||
Property 'kwah' is missing in type 'Foo'.
|
||||
tests/cases/compiler/unionTypeErrorMessageTypeRefs01.ts(48,1): error TS2322: Type 'X<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'.
|
||||
Type 'X<Foo>' is not assignable to type 'Z<Kwah>'.
|
||||
Property 'zProp' is missing in type 'X<Foo>'.
|
||||
Type 'X<Foo>' is not assignable to type 'X<Bar>'.
|
||||
Types of property 'xProp' are incompatible.
|
||||
Type 'Foo' is not assignable to type 'Bar'.
|
||||
tests/cases/compiler/unionTypeErrorMessageTypeRefs01.ts(49,1): error TS2322: Type 'Y<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'.
|
||||
Type 'Y<Foo>' is not assignable to type 'Z<Kwah>'.
|
||||
Property 'zProp' is missing in type 'Y<Foo>'.
|
||||
Type 'Y<Foo>' is not assignable to type 'Y<Baz>'.
|
||||
Types of property 'yProp' are incompatible.
|
||||
Type 'Foo' is not assignable to type 'Baz'.
|
||||
tests/cases/compiler/unionTypeErrorMessageTypeRefs01.ts(50,1): error TS2322: Type 'Z<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'.
|
||||
Type 'Z<Foo>' is not assignable to type 'Z<Kwah>'.
|
||||
Types of property 'zProp' are incompatible.
|
||||
@@ -88,13 +90,15 @@ tests/cases/compiler/unionTypeErrorMessageTypeRefs01.ts(50,1): error TS2322: Typ
|
||||
thingOfTypeAliases = x;
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2322: Type 'X<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'.
|
||||
!!! error TS2322: Type 'X<Foo>' is not assignable to type 'Z<Kwah>'.
|
||||
!!! error TS2322: Property 'zProp' is missing in type 'X<Foo>'.
|
||||
!!! error TS2322: Type 'X<Foo>' is not assignable to type 'X<Bar>'.
|
||||
!!! error TS2322: Types of property 'xProp' are incompatible.
|
||||
!!! error TS2322: Type 'Foo' is not assignable to type 'Bar'.
|
||||
thingOfTypeAliases = y;
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2322: Type 'Y<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'.
|
||||
!!! error TS2322: Type 'Y<Foo>' is not assignable to type 'Z<Kwah>'.
|
||||
!!! error TS2322: Property 'zProp' is missing in type 'Y<Foo>'.
|
||||
!!! error TS2322: Type 'Y<Foo>' is not assignable to type 'Y<Baz>'.
|
||||
!!! error TS2322: Types of property 'yProp' are incompatible.
|
||||
!!! error TS2322: Type 'Foo' is not assignable to type 'Baz'.
|
||||
thingOfTypeAliases = z;
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2322: Type 'Z<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'.
|
||||
|
||||
Reference in New Issue
Block a user