UNPKG

@reduxjs/toolkit

Version:

The official, opinionated, batteries-included toolset for efficient Redux development

4 lines (3 loc) 316 B
import type { Dispatch as ReduxDispatch, UnknownAction } from 'redux'; import type { DynamicMiddlewareInstance } from './types'; export declare const createDynamicMiddleware: <State = any, Dispatch extends ReduxDispatch<UnknownAction> = ReduxDispatch<UnknownAction>>() => DynamicMiddlewareInstance<State, Dispatch>;