Files
tsgo/testdata/baselines/reference/submoduleAccepted/compiler/exportDefaultStripsFreshness.errors.txt.diff

28 lines
1.6 KiB
Diff

--- old.exportDefaultStripsFreshness.errors.txt
+++ new.exportDefaultStripsFreshness.errors.txt
@@= skipped -0, +0 lines =@@
-index.ts(10,6): error TS2345: Argument of type '{ foob: string; }' is not assignable to parameter of type 'IFoo'.
- Property 'foo' is missing in type '{ foob: string; }' but required in type 'IFoo'.
-index.ts(12,6): error TS2345: Argument of type '{ foob: string; }' is not assignable to parameter of type 'IFoo'.
- Property 'foo' is missing in type '{ foob: string; }' but required in type 'IFoo'.
+index.ts(10,6): error TS2741: Property 'foo' is missing in type '{ foob: string; }' but required in type 'IFoo'.
+index.ts(12,6): error TS2741: Property 'foo' is missing in type '{ foob: string; }' but required in type 'IFoo'.
==== items.ts (0 errors) ====
@@= skipped -23, +21 lines =@@
nFoo(q); // for comparison
~
-!!! error TS2345: Argument of type '{ foob: string; }' is not assignable to parameter of type 'IFoo'.
-!!! error TS2345: Property 'foo' is missing in type '{ foob: string; }' but required in type 'IFoo'.
+!!! error TS2741: Property 'foo' is missing in type '{ foob: string; }' but required in type 'IFoo'.
!!! related TS2728 index.ts:4:5: 'foo' is declared here.
nFoo(B);
~
-!!! error TS2345: Argument of type '{ foob: string; }' is not assignable to parameter of type 'IFoo'.
-!!! error TS2345: Property 'foo' is missing in type '{ foob: string; }' but required in type 'IFoo'.
+!!! error TS2741: Property 'foo' is missing in type '{ foob: string; }' but required in type 'IFoo'.
!!! related TS2728 index.ts:4:5: 'foo' is declared here.