Skip to content

Commit

Permalink
Ignore listener middleware return type error
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Nov 26, 2021
1 parent 8fa3d9b commit 23e0635
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,8 @@ describe('createActionListenerMiddleware', () => {
listener,
})
)
// TODO This hopefully will be resolved in RTK 1.7 / thunk 2.4.1
// @ts-expect-error
expectType<Action<'actionListenerMiddleware/add'>>(unsubscribe)

store.dispatch(testAction1('a'))
Expand Down

0 comments on commit 23e0635

Please sign in to comment.