redux-devtools/packages/redux-devtools-slider-monitor/examples/todomvc/store/configureStore.prod.ts

9 lines
246 B
TypeScript

import { createStore, PreloadedState } from 'redux';
import rootReducer, { TodoState } from '../reducers';
export default function configureStore(
initialState?: PreloadedState<TodoState>
) {
return createStore(rootReducer, initialState);
}