diff options
Diffstat (limited to 'kvision-modules/kvision-redux/src')
-rw-r--r-- | kvision-modules/kvision-redux/src/main/kotlin/pl/treksoft/kvision/redux/ReduxStore.kt | 2 | ||||
-rw-r--r-- | kvision-modules/kvision-redux/src/main/kotlin/pl/treksoft/kvision/redux/StateBinding.kt | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/kvision-modules/kvision-redux/src/main/kotlin/pl/treksoft/kvision/redux/ReduxStore.kt b/kvision-modules/kvision-redux/src/main/kotlin/pl/treksoft/kvision/redux/ReduxStore.kt index bfe7bc50..8cb1540d 100644 --- a/kvision-modules/kvision-redux/src/main/kotlin/pl/treksoft/kvision/redux/ReduxStore.kt +++ b/kvision-modules/kvision-redux/src/main/kotlin/pl/treksoft/kvision/redux/ReduxStore.kt @@ -22,12 +22,12 @@ package pl.treksoft.kvision.redux import pl.treksoft.kvision.KVManagerRedux -import redux.RAction import redux.Reducer import redux.Store import redux.WrapperAction import redux.rEnhancer +typealias RAction = redux.RAction typealias Dispatch<A> = (A) -> WrapperAction typealias GetState<S> = () -> S typealias ActionCreator<A, S> = (Dispatch<A>, GetState<S>) -> Unit diff --git a/kvision-modules/kvision-redux/src/main/kotlin/pl/treksoft/kvision/redux/StateBinding.kt b/kvision-modules/kvision-redux/src/main/kotlin/pl/treksoft/kvision/redux/StateBinding.kt index 383e734e..a980a79a 100644 --- a/kvision-modules/kvision-redux/src/main/kotlin/pl/treksoft/kvision/redux/StateBinding.kt +++ b/kvision-modules/kvision-redux/src/main/kotlin/pl/treksoft/kvision/redux/StateBinding.kt @@ -23,7 +23,6 @@ package pl.treksoft.kvision.redux import pl.treksoft.kvision.core.Container import pl.treksoft.kvision.core.Widget -import redux.RAction /** * A class which binds the redux store with the given container. |