import { combineReducers , Reducer } from 'redux' ; import { CompactdState } from 'definitions' ; import { reducer as library } from 'features/library' ; import { reducer as app } from 'features/app' ; import { reducer as player } from 'features/player' ; import { reducer as store } from 'features/store' ; import { reducer as settings } from 'features/settings' ; import { routerReducer , routerMiddleware } from 'react-router-redux' ; export const reducers = combineReducers ( { router : routerReducer , library , app , player , store , settings } ) as Reducer < CompactdState > ;