diff --git a/packages/action-listener-middleware/src/types.ts b/packages/action-listener-middleware/src/types.ts index 9d40263cdf..ccb42183b2 100644 --- a/packages/action-listener-middleware/src/types.ts +++ b/packages/action-listener-middleware/src/types.ts @@ -318,18 +318,6 @@ export type ListenerPredicateGuardedActionType = T extends ListenerPredicate< ? Action : never -export type SyncActionListener< - A extends AnyAction, - S, - D extends Dispatch -> = (action: A, api: ActionListenerMiddlewareAPI) => void - -export type AsyncActionListener< - A extends AnyAction, - S, - D extends Dispatch -> = (action: A, api: ActionListenerMiddlewareAPI) => Promise - /** * Additional infos regarding the error raised. */