#73 Adding getState type for redux-thunk actions

This commit is contained in:
apanizo 2018-10-26 15:14:34 +02:00
parent 4cc5f390c4
commit a2892ea4eb
1 changed files with 2 additions and 0 deletions

View File

@ -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,