You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
471 B

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