8000 Fix test baseline · johnangularjs/TypeScript@50b0516 · GitHub
[go: up one dir, main page]

Skip to content

Commit 50b0516

Browse files
committed
Fix test baseline
1 parent cb38c95 commit 50b0516

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/baselines/reference/objectTypesIdentityWithPrivates3.errors.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
tests/cases/conformance/types/typeRelationships/typeAndMemberIdentity/objectTypesIdentityWithPrivates3.ts(25,1): error TS2353: Neither type 'C3<T2>' nor type 'C4' is assignable to the other:
2+
Property 'y' is missing in type 'C3<T2>'.
3+
4+
15
==== tests/cases/conformance/types/typeRelationships/typeAndMemberIdentity/objectTypesIdentityWithPrivates3.ts (1 errors) ====
26
interface T1 { }
37
interface T2 { z }
@@ -25,5 +29,5 @@
2529
var c3: C3<T2>;
2630
<C4>c3; // Should fail (private x originates in the same declaration, but different types)
2731
~~~~~~
28-
!!! Neither type 'C3<T2>' nor type 'C4' is assignable to the other:
29-
!!! Property 'y' is missing in type 'C3<T2>'.
32+
!!! error TS2353: Neither type 'C3<T2>' nor type 'C4' is assignable to the other:
33+
!!! error TS2353: Property 'y' is missing in type 'C3<T2>'.

0 commit comments

Comments
 (0)
0