Upgrade to Kotlin 1.9.0, kotlinx-html 0.9.1, version 1.1.1.

This commit is contained in:
2023-07-19 16:18:49 +02:00
parent a1f1f3bb38
commit 5cc4826e65
6 changed files with 43 additions and 28 deletions

View File

@@ -14,8 +14,8 @@ interface Delegate<T> {
property: KProperty<*>,
value: T
)
}
}
open class StateDelegate<T>(
val komponent: Komponent,
@@ -51,6 +51,6 @@ open class StateDelegate<T>(
inline fun <reified T> Komponent.state(
initialValue: T
): Delegate<T> = StateDelegate(
this,
initialValue
)
this,
initialValue
)