Migrate actions,reducers and action types to TS #15

This commit is contained in:
Qolzam
2017-10-10 08:01:25 +07:00
parent 3b3899e7af
commit f9d213f741
113 changed files with 2692 additions and 1275 deletions

View File

@@ -6,15 +6,19 @@ import createHistory from 'history/createBrowserHistory'
import {createLogger} from 'redux-logger';
// - Import reducers
import {imageGalleryReducer} from 'reducers/imageGalleryReducer'
import {postReducer} from 'reducers/postReducer'
import {commentReducer} from 'reducers/commentReducer'
import {voteReducer} from 'reducers/voteReducer'
import {authorizeReducer} from 'reducers/authorizeReducer'
import {globalReducer} from 'reducers/globalReducer'
import {userReducer} from 'reducers/userReducer'
import {circleReducer} from 'reducers/circleReducer'
import {notifyReducer} from 'reducers/notifyReducer'
import {
imageGalleryReducer,
postReducer,
commentReducer,
voteReducer,
authorizeReducer,
globalReducer,
userReducer,
circleReducer,
notificationReducer
} from 'reducers';
declare const window: any;
// Create a history of your choosing (we're using a browser history in this case)
export const history = createHistory()
@@ -33,7 +37,7 @@ let reducer = redux.combineReducers({
authorize: authorizeReducer,
router: routerReducer,
user: userReducer,
notify:notifyReducer,
notify:notificationReducer,
global: globalReducer
})