aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/store/reducers.ts
blob: b3e4f4712fe047fb6223b2721c83994e726f0432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;