mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
22 lines
890 B
Plaintext
22 lines
890 B
Plaintext
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.
|
|
|
|
|
|
==== lovefield-ts.d.ts (0 errors) ====
|
|
// bug #27352, crashes from github.com/google/lovefield
|
|
declare namespace lf {
|
|
export enum Order { ASC, DESC }
|
|
}
|
|
|
|
==== 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.
|
|
lf.Order.ASC = 1;
|
|
~~~
|
|
!!! error TS2540: Cannot assign to 'ASC' because it is a read-only property.
|
|
|