import { History } from "history" ; import { combineReducers } from "redux" ; import { Todo } from "../model/index" ; import * as todoReducer from "./todo" ; import * as configReducer from './config' ; import * as snackbarReducer from './snackbarEvent' ; import { SnackbarEvent } from "../model" ; export interface RootState { drawerOpen : boolean ; todoList : Todo [ ] ; snackbarEvents : SnackbarEvent [ ] ; } export default ( history ) => combineReducers ( { ... configReducer , ... todoReducer , ... snackbarReducer , } ) ;