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