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