#73 Adding getState type for redux-thunk actions
This commit is contained in:
parent
4cc5f390c4
commit
a2892ea4eb
|
@ -24,6 +24,8 @@ export type GlobalState = {
|
||||||
transactions: TransactionsState,
|
transactions: TransactionsState,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type GetState = () => GlobalState
|
||||||
|
|
||||||
const reducers: Reducer<GlobalState> = combineReducers({
|
const reducers: Reducer<GlobalState> = combineReducers({
|
||||||
routing: routerReducer,
|
routing: routerReducer,
|
||||||
[PROVIDER_REDUCER_ID]: provider,
|
[PROVIDER_REDUCER_ID]: provider,
|
||||||
|
|
Loading…
Reference in New Issue