From 1f98ce6fa5ce64509784ef82d64d09f49c3f8b17 Mon Sep 17 00:00:00 2001 From: Igor Yakovlev Date: Mon, 23 Sep 2024 18:35:35 +0200 Subject: [PATCH] Add ExperimentalContracts opt-in --- src/wasmJsMain/kotlin/timeZoneWidget.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wasmJsMain/kotlin/timeZoneWidget.kt b/src/wasmJsMain/kotlin/timeZoneWidget.kt index afa0ca1..15c8db8 100644 --- a/src/wasmJsMain/kotlin/timeZoneWidget.kt +++ b/src/wasmJsMain/kotlin/timeZoneWidget.kt @@ -5,6 +5,7 @@ import kotlinx.dom.appendText import org.w3c.dom.Element import org.w3c.dom.HTMLInputElement +@kotlin.contracts.ExperimentalContracts fun Element.addTimeZoneWidget() { appendElement("div") { appendText("Time in ")