Files
tsgo/testdata/baselines/reference/submoduleAccepted/conformance/destructuringParameterDeclaration5.errors.txt.diff

22 lines
1.7 KiB
Diff

--- old.destructuringParameterDeclaration5.errors.txt
+++ new.destructuringParameterDeclaration5.errors.txt
@@= skipped -1, +1 lines =@@
destructuringParameterDeclaration5.ts(14,5): error TS2564: Property 'foo' has no initializer and is not definitely assigned in the constructor.
destructuringParameterDeclaration5.ts(19,5): error TS2564: Property 'bar' has no initializer and is not definitely assigned in the constructor.
destructuringParameterDeclaration5.ts(47,6): error TS2741: Property 'foo' is missing in type 'Class' but required in type 'D'.
-destructuringParameterDeclaration5.ts(48,4): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ y: D; }'.
- Property 'y' is missing in type '{}' but required in type '{ y: D; }'.
+destructuringParameterDeclaration5.ts(48,4): error TS2741: Property 'y' is missing in type '{}' but required in type '{ y: D; }'.
destructuringParameterDeclaration5.ts(49,6): error TS2322: Type 'number' is not assignable to type 'D'.
destructuringParameterDeclaration5.ts(50,6): error TS2322: Type 'string' is not assignable to type 'D'.
@@= skipped -66, +65 lines =@@
!!! related TS6500 destructuringParameterDeclaration5.ts:29:33: The expected type comes from property 'y' which is declared here on type '{ y: D; }'
d3({});
~~
-!!! error TS2345: Argument of type '{}' is not assignable to parameter of type '{ y: D; }'.
-!!! error TS2345: Property 'y' is missing in type '{}' but required in type '{ y: D; }'.
+!!! error TS2741: Property 'y' is missing in type '{}' but required in type '{ y: D; }'.
!!! related TS2728 destructuringParameterDeclaration5.ts:29:33: 'y' is declared here.
d3({ y: 1 });
~