diff --git a/frontend/src/store/index.ts b/frontend/src/store/index.ts index 4b725b7218..39f43fdf85 100644 --- a/frontend/src/store/index.ts +++ b/frontend/src/store/index.ts @@ -1,5 +1,6 @@ import { applyMiddleware, compose, createStore } from 'redux'; import thunk, { ThunkMiddleware } from 'redux-thunk'; +import AppActions from 'types/actions'; import reducers, { AppState } from './reducers'; @@ -8,8 +9,9 @@ const composeEnhancers = const store = createStore( reducers, - // @TODO Add Type for AppActions also - composeEnhancers(applyMiddleware(thunk as ThunkMiddleware)), + composeEnhancers( + applyMiddleware(thunk as ThunkMiddleware), + ), ); export default store;