redux-devtools/packages/redux-devtools-slider-monitor/examples/todomvc/reducers/index.ts

13 lines
210 B
TypeScript

import { combineReducers } from 'redux';
import todos, { Todo } from './todos';
export interface TodoState {
todos: Todo[];
}
const rootReducer = combineReducers({
todos,
});
export default rootReducer;