From d80fcaadad307070509fb6a4e2e41f5929be24ac Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 29 Jan 2018 20:58:39 +0100 Subject: Style fix --- src/main/kotlin/pl/treksoft/kvision/form/Form.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/kotlin/pl/treksoft/kvision') diff --git a/src/main/kotlin/pl/treksoft/kvision/form/Form.kt b/src/main/kotlin/pl/treksoft/kvision/form/Form.kt index ac3dfab7..1f97311d 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/Form.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/Form.kt @@ -110,5 +110,6 @@ fun Map.date(key: String): Date? = this[key] as? Date fun Map.asJson(): Json { val array = this.entries.map { it.component1() to it.component2() }.toTypedArray() + @Suppress("SpreadOperator") return kotlin.js.json(*array) } -- cgit