A store creator is a function that creates a Redux store. Like with dispatching function, we must distinguish the base store creator, createStore(reducer, preloadedState) exported from the Redux package, from store creators that are returned from the store enhancers.

interface StoreCreator {
    <S, A, Ext, StateExt>(reducer, enhancer?): Store<S & StateExt, A> & Ext;
    <S, A, Ext, StateExt>(reducer, preloadedState?, enhancer?): Store<S & StateExt, A> & Ext;
}