diff options
author | Victor Chabbert <chabbertvi@eisti.eu> | 2017-05-28 23:39:12 +0200 |
---|---|---|
committer | Victor Chabbert <chabbertvi@eisti.eu> | 2017-05-28 23:39:12 +0200 |
commit | bb2ced764938c4aa6b4e003b7dedb26c8a096b97 (patch) | |
tree | 7adf701e85f724b85fe042ef9ae00ff52e3c5213 /frontend/src/store.js | |
parent | Upgrade react-scripts (diff) | |
download | seven-wonders-bb2ced764938c4aa6b4e003b7dedb26c8a096b97.tar.gz seven-wonders-bb2ced764938c4aa6b4e003b7dedb26c8a096b97.tar.bz2 seven-wonders-bb2ced764938c4aa6b4e003b7dedb26c8a096b97.zip |
Initial type checking work with flowtype
Diffstat (limited to 'frontend/src/store.js')
-rw-r--r-- | frontend/src/store.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/store.js b/frontend/src/store.js index 57f43a4f..a095695b 100644 --- a/frontend/src/store.js +++ b/frontend/src/store.js @@ -1,3 +1,4 @@ +// @flow import { createStore, applyMiddleware, compose } from 'redux'; import { browserHistory } from 'react-router'; import { syncHistoryWithStore, routerMiddleware } from 'react-router-redux'; @@ -8,7 +9,7 @@ import createSagaMiddleware from 'redux-saga'; import rootSaga from './sagas'; import { makeSelectLocationState } from './redux/app'; -export default function configureStore(initialState = {}) { +export default function configureStore(initialState: Object = {}) { const sagaMiddleware = createSagaMiddleware(); const middlewares = [sagaMiddleware, routerMiddleware(browserHistory)]; |