Open lamba92 opened 3 months ago
This will affect everyone using datetime, even the ones not using Instant
.
Plus, it will possibly output an unwanted and unexpected TypeScript declaration.
This is what you need: https://youtrack.jetbrains.com/issue/KT-64813
Class
Instant
has been annotated with@JsExport
to allow usage of it from JS code. Due to KT-62385 @JsExport doesn't play well with the WasmTarget, a workaround has been added as well.