mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-30 05:23:53 +03:00
9 lines
246 B
TypeScript
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);
|
|
}
|