mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
739 B
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>'.
|
|
|