mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
803 B
Diff
19 lines
803 B
Diff
--- old.enumMergeWithExpando.errors.txt
|
|
+++ new.enumMergeWithExpando.errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
+enums.js(1,1): error TS2739: Type '{}' is missing the following properties from type 'typeof Order': ASC, DESC
|
|
enums.js(2,10): error TS2540: Cannot assign to 'DESC' because it is a read-only property.
|
|
enums.js(3,10): error TS2540: Cannot assign to 'ASC' because it is a read-only property.
|
|
|
|
@@= skipped -7, +8 lines =@@
|
|
export enum Order { ASC, DESC }
|
|
}
|
|
|
|
-==== enums.js (2 errors) ====
|
|
+==== enums.js (3 errors) ====
|
|
lf.Order = {}
|
|
+ ~~~~~~~~
|
|
+!!! error TS2739: Type '{}' is missing the following properties from type 'typeof Order': ASC, DESC
|
|
lf.Order.DESC = 0;
|
|
~~~~
|
|
!!! error TS2540: Cannot assign to 'DESC' because it is a read-only property.
|