mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-29 13:03:55 +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);
|
||
|
}
|