mbonnin
12/02/2023, 4:15 PM@JsExport work in wasm? If yes, could the JsAny bound of unsafeCast be removed (source)? Reason is I have @JsExport classes that I want to unsafe cast in common code and I don't have JsAny available in commonMain . Or is there another way?andylamax
12/02/2023, 7:29 PM@JsExport doesn't work with wasm last time I checked
https://kotlinlang.slack.com/archives/CDFP59223/p1682147287374119?thread_ts=1682147287.374119&cid=CDFP59223mbonnin
12/02/2023, 7:30 PMSvyatoslav Kuzmich [JB]
12/03/2023, 8:58 AM@JsExports currently does work for package-level functions, but classes are not supported yet.
unsafeCast upper bound will likely remain because we can’t unsafely cast Wasm values, while we can easily do this with JS values (they don’t care about static types).andylamax
12/03/2023, 8:59 AMandylamax
12/03/2023, 9:00 AMSvyatoslav Kuzmich [JB]
12/03/2023, 9:04 AMSvyatoslav Kuzmich [JB]
12/03/2023, 9:08 AMmbonnin
12/03/2023, 9:10 AMandylamax
12/03/2023, 12:16 PM