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

15 lines
739 B
Diff

--- old.assignmentCompatWithEnumIndexer.errors.txt
+++ new.assignmentCompatWithEnumIndexer.errors.txt
@@= skipped -0, +0 lines =@@
-assignmentCompatWithEnumIndexer.ts(5,5): error TS2741: Property '[E.A]' is missing in type '{}' but required in type 'Record<E, any>'.
+assignmentCompatWithEnumIndexer.ts(5,5): error TS2741: Property '0' is missing in type '{}' but required in type 'Record<E, any>'.
==== assignmentCompatWithEnumIndexer.ts (1 errors) ====
@@= skipped -7, +7 lines =@@
let foo: Record<E, any> = {}
~~~
-!!! error TS2741: Property '[E.A]' is missing in type '{}' but required in type 'Record<E, any>'.
+!!! error TS2741: Property '0' is missing in type '{}' but required in type 'Record<E, any>'.