Skip to content

Commit

Permalink
chore: remove unused types
Browse files Browse the repository at this point in the history
  • Loading branch information
FaberVitale committed Dec 1, 2021
1 parent 15ed8c3 commit 60aae66
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/action-listener-middleware/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,18 +318,6 @@ export type ListenerPredicateGuardedActionType<T> = T extends ListenerPredicate<
? Action
: never

export type SyncActionListener<
A extends AnyAction,
S,
D extends Dispatch<AnyAction>
> = (action: A, api: ActionListenerMiddlewareAPI<S, D>) => void

export type AsyncActionListener<
A extends AnyAction,
S,
D extends Dispatch<AnyAction>
> = (action: A, api: ActionListenerMiddlewareAPI<S, D>) => Promise<void>

/**
* Additional infos regarding the error raised.
*/
Expand Down

0 comments on commit 60aae66

Please sign in to comment.