blob: b3e4f4712fe047fb6223b2721c83994e726f0432 [file] [log] [blame]
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +03001import {Reducer, combineReducers} from 'redux';
2import {GlobalReducer, GlobalState} from "../global.reducer";
3import {ServiceReducer, ServiceState} from "../service.reducer";
4
5
6export interface AppState {
7 global: GlobalState;
8 service: ServiceState;
9
10}
11
12const rootReducer: Reducer<AppState> = combineReducers<AppState>({
13 global: GlobalReducer,
14 service: ServiceReducer
15});
16
17export default rootReducer;