From a2892ea4eb2c9af060e668a79341e449e4daffa3 Mon Sep 17 00:00:00 2001 From: apanizo Date: Fri, 26 Oct 2018 15:14:34 +0200 Subject: [PATCH] #73 Adding getState type for redux-thunk actions --- src/store/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/store/index.js b/src/store/index.js index 4688fc21..949e7927 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -24,6 +24,8 @@ export type GlobalState = { transactions: TransactionsState, } +export type GetState = () => GlobalState + const reducers: Reducer = combineReducers({ routing: routerReducer, [PROVIDER_REDUCER_ID]: provider,