Fix test baseline
This commit is contained in:
parent
cb38c9569a
commit
50b0516df0
|
@ -1,3 +1,7 @@
|
|||
tests/cases/conformance/types/typeRelationships/typeAndMemberIdentity/objectTypesIdentityWithPrivates3.ts(25,1): error TS2353: Neither type 'C3<T2>' nor type 'C4' is assignable to the other:
|
||||
Property 'y' is missing in type 'C3<T2>'.
|
||||
|
||||
|
||||
==== tests/cases/conformance/types/typeRelationships/typeAndMemberIdentity/objectTypesIdentityWithPrivates3.ts (1 errors) ====
|
||||
interface T1 { }
|
||||
interface T2 { z }
|
||||
|
@ -25,5 +29,5 @@
|
|||
var c3: C3<T2>;
|
||||
<C4>c3; // Should fail (private x originates in the same declaration, but different types)
|
||||
~~~~~~
|
||||
!!! Neither type 'C3<T2>' nor type 'C4' is assignable to the other:
|
||||
!!! Property 'y' is missing in type 'C3<T2>'.
|
||||
!!! error TS2353: Neither type 'C3<T2>' nor type 'C4' is assignable to the other:
|
||||
!!! error TS2353: Property 'y' is missing in type 'C3<T2>'.
|
Loading…
Reference in a new issue