thana
02/11/2019, 6:13 PMlateinit
obviously lateinit and jsname doesnt work togetherSvyatoslav Kuzmich [JB]
02/12/2019, 9:16 AMObject.defineProperty(YourClass.prototype, 'YourJsName', {
thana
02/12/2019, 10:06 AMthana
02/12/2019, 10:06 AMSvyatoslav Kuzmich [JB]
02/12/2019, 12:11 PMJSON.stringify()
doesn’t use not-owned properties. Its a common problem for all prototype-based JS code. There are workarounds like using custom toJSON()
method or something like: https://www.npmjs.com/package/flatten-prototypes