diff options
Diffstat (limited to 'vid-webpack-master/src/app/shared/store/reducers.ts')
-rw-r--r-- | vid-webpack-master/src/app/shared/store/reducers.ts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vid-webpack-master/src/app/shared/store/reducers.ts b/vid-webpack-master/src/app/shared/store/reducers.ts new file mode 100644 index 000000000..90cdd273f --- /dev/null +++ b/vid-webpack-master/src/app/shared/store/reducers.ts @@ -0,0 +1,16 @@ +import {MainReducer, ServiceState} from "../storeUtil/utils/main.reducer"; +import {globalReducer, GlobalState} from "../storeUtil/utils/global/global.reducers"; +import {combineReducers, Reducer} from "redux"; + + +export interface AppState { + global: GlobalState; + service: ServiceState; +} + +const rootReducer: Reducer<AppState> = combineReducers<AppState>({ + global: globalReducer, + service: MainReducer +}); + +export default rootReducer; |