Files

19 lines
800 B
Diff

--- old.generics5.errors.txt
+++ new.generics5.errors.txt
@@= skipped -0, +0 lines =@@
-generics5.ts(10,14): error TS2344: Type 'A' does not satisfy the constraint 'B'.
- Property 'b' is missing in type 'A' but required in type 'B'.
+generics5.ts(10,14): error TS2741: Property 'b' is missing in type 'A' but required in type 'B'.
==== generics5.ts (1 errors) ====
@@= skipped -13, +12 lines =@@
var v3: G<A, A>; // Error, A not valid argument for U
~
-!!! error TS2344: Type 'A' does not satisfy the constraint 'B'.
-!!! error TS2344: Property 'b' is missing in type 'A' but required in type 'B'.
+!!! error TS2741: Property 'b' is missing in type 'A' but required in type 'B'.
!!! related TS2728 generics5.ts:2:25: 'b' is declared here.