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

1.8 KiB

--- old.deeplyNestedAssignabilityIssue.errors.txt
+++ new.deeplyNestedAssignabilityIssue.errors.txt
@@= skipped -2, +2 lines =@@
22 thing: {}
~~~~~
 
- deeplyNestedAssignabilityIssue.ts:2:5
+ deeplyNestedAssignabilityIssue.ts:2:5 - 'a' is declared here.
2 a: number;
~
- 'a' is declared here.
- deeplyNestedAssignabilityIssue.ts:9:17
+
+ deeplyNestedAssignabilityIssue.ts:9:17 - The expected type comes from property 'thing' which is declared here on type '{ thing: A; }'
9 thing: A;
~~~~~
- The expected type comes from property 'thing' which is declared here on type '{ thing: A; }'
+
deeplyNestedAssignabilityIssue.ts:25:17 - error TS2741: Property 'a' is missing in type '{}' but required in type 'A'.
 
25 another: {}
~~~~~~~
 
- deeplyNestedAssignabilityIssue.ts:2:5
+ deeplyNestedAssignabilityIssue.ts:2:5 - 'a' is declared here.
2 a: number;
~
- 'a' is declared here.
- deeplyNestedAssignabilityIssue.ts:12:17
+
+ deeplyNestedAssignabilityIssue.ts:12:17 - The expected type comes from property 'another' which is declared here on type '{ another: A; }'
12 another: A;
~~~~~~~
- The expected type comes from property 'another' which is declared here on type '{ another: A; }'
 
 
==== deeplyNestedAssignabilityIssue.ts (2 errors) ====