John O'Reilly
04/11/2024, 5:26 PMdynamic
to JsAny
btw as mentioned in https://kotlinlang.org/docs/wasm-js-interop.html#kotlin-wasm-and-kotlin-js-interoperability-differences . I'll keep digging but in case anything obviousJohn O'Reilly
04/11/2024, 5:27 PMApplies stricter type restrictions uniformly to all interop declarations external, = js("code"), and @JsExport. Allows a select number of built-in Kotlin types and JsAny subtypes.
John O'Reilly
04/11/2024, 5:54 PMJsNonModule
but see following for Wasm
Supports ES modules only. There is no analog of the @JsNonModule annotation. Provides its exports as properties on the default object. Allows exporting package-level functions only.
Robert Jaros
04/11/2024, 6:39 PMJsNumber
type instead of Number
Svyatoslav Kuzmich [JB]
04/12/2024, 10:31 AMDouble
or Int
if these will do