license import { Reducer } from "./Reducer" ; import { Store } from "./Store" ; /**
 * A standard function type for creating Stores. The StoreCreator
 * type is used by StoreEnhancers, which allow code to decorate (modify)
 * the store creation chain with additional logic.
 *
 * This is typically used when creating custom middleware.
 *
 * Remark: This function deviates slightly from the Redux standard
 * StoreCreator type in that we _require_ initialState, where Redux
 * allows it to be optional. For more on initial state handling, see
 * the discussion in initialState.md.
 */ export interface StoreCreator < S > { ( reducer , initialState ) : Store < S > ; }