Skip to content

Commit b6d6129

Browse files
committed
Accept baseline change for apparent type
1 parent 86b3c14 commit b6d6129

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/baselines/reference/nonPrimitiveAssignError.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tests/cases/conformance/types/nonPrimitive/nonPrimitiveAssignError.ts(5,1): error TS2322: Type 'object' is not assignable to type '{ foo: string; }'.
2-
Property 'foo' is missing in type 'Object'.
2+
Property 'foo' is missing in type '{}'.
33
tests/cases/conformance/types/nonPrimitive/nonPrimitiveAssignError.ts(13,1): error TS2322: Type 'number' is not assignable to type 'object'.
44
tests/cases/conformance/types/nonPrimitive/nonPrimitiveAssignError.ts(14,1): error TS2322: Type 'true' is not assignable to type 'object'.
55
tests/cases/conformance/types/nonPrimitive/nonPrimitiveAssignError.ts(15,1): error TS2322: Type 'string' is not assignable to type 'object'.
@@ -16,7 +16,7 @@ tests/cases/conformance/types/nonPrimitive/nonPrimitiveAssignError.ts(19,1): err
1616
y = a; // expect error
1717
~
1818
!!! error TS2322: Type 'object' is not assignable to type '{ foo: string; }'.
19-
!!! error TS2322: Property 'foo' is missing in type 'Object'.
19+
!!! error TS2322: Property 'foo' is missing in type '{}'.
2020
a = x;
2121
a = y;
2222

0 commit comments

Comments
 (0)