We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9e434e commit cceaf9aCopy full SHA for cceaf9a
composeApp/src/wasmJsMain/kotlin/com/krossovochkin/chesskt/main.kt
@@ -32,10 +32,8 @@ private fun getContainerSize(): Int? {
32
}.takeIf { it > 0 }
33
}
34
35
-// --- WASM-safe external declaration ---
36
external interface WindowWithFrameElement {
37
val frameElement: HTMLElement?
38
39
40
-val windowWithFrameElement: WindowWithFrameElement
41
- get() = js("window")
+val windowWithFrameElement: WindowWithFrameElement = js("window")
0 commit comments