Applies 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 PM
The Kotlin/JS code also uses
JsNonModule
but see following for Wasm
Copy code
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.