blob: 90cdd273fa9b50a9099dff22dc085cfac7b668cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
|