Closed JSMonk closed 3 years ago
There is a bug in the interface and object types conversion: readonly members will be translated into var instead of val. Example:
var
val
declare interface A { readonly a: number; }
Actual:
external interface A { var a: Number }
Expected:
external interface A { val a: Number }
Summary
There is a bug in the interface and object types conversion: readonly members will be translated into
var
instead ofval
. Example:Actual:
Expected: