Function createStoreWithOptionalDevtools

  • Type Parameters

    • T

    Parameters

    • initialState: T
    • config: DevtoolsOptions

    Returns Omit<StoreApi, "setState"> & {
        setState<A>(partial, replace?, action?): void;
    }