Robert Jaros
10/11/2023, 7:03 PMArray<T>
, with size
property (Kotlin syntax). In Kotlin/Wasm, JS arrays are represented as JsArray<T>
, with length
property (JS syntax). This makes writing code compatible with both targets (e.g. in common target) very hard at least. I've come up with some hacks based on expect/actual and dirty casts. Anyone has better ideas how to deal with this?bashor
10/11/2023, 7:19 PMRobert Jaros
10/11/2023, 7:21 PMorg.w3c.dom.DataTransfer.types
is an arraySvyatoslav Kuzmich [JB]
10/11/2023, 8:04 PMJsArray<T>
and Wasm version of DOM API common between Kotlin/JS and Kotlin/Wasm, but the design is still in flux.