diff options
Diffstat (limited to 'kvision-modules/kvision-redux-kotlin')
-rw-r--r-- | kvision-modules/kvision-redux-kotlin/src/main/kotlin/pl/treksoft/kvision/redux/ReduxStore.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvision-modules/kvision-redux-kotlin/src/main/kotlin/pl/treksoft/kvision/redux/ReduxStore.kt b/kvision-modules/kvision-redux-kotlin/src/main/kotlin/pl/treksoft/kvision/redux/ReduxStore.kt index c4889567..7625ed7a 100644 --- a/kvision-modules/kvision-redux-kotlin/src/main/kotlin/pl/treksoft/kvision/redux/ReduxStore.kt +++ b/kvision-modules/kvision-redux-kotlin/src/main/kotlin/pl/treksoft/kvision/redux/ReduxStore.kt @@ -67,7 +67,7 @@ class ReduxStore<S : Any, A : RAction>( initialState: S, vararg middlewares: Middleware<S> ) : ObservableState<S> { - @Suppress("UNCHECKED_CAST") + @Suppress("UNCHECKED_CAST", "SpreadOperator") private val store: Store<S> = createStore({ s: S, a: Any -> if (a == ActionTypes.INIT || a == ActionTypes.REPLACE) { s |