index.d.ts 471 B

1234567
  1. import type { Action, AnyAction } from 'redux';
  2. import type { ThunkMiddleware } from './types';
  3. export type { ThunkAction, ThunkDispatch, ThunkActionDispatch, ThunkMiddleware } from './types';
  4. declare const thunk: ThunkMiddleware<any, AnyAction, undefined> & {
  5. withExtraArgument<ExtraThunkArg, State = any, BasicAction extends Action<any> = AnyAction>(extraArgument: ExtraThunkArg): ThunkMiddleware<State, BasicAction, ExtraThunkArg>;
  6. };
  7. export default thunk;