Skip to content

Commit 828026d

Browse files
authored
Export ThunkDispatch from redux-thunk. (#473)
1 parent c9bdd90 commit 828026d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

etc/redux-toolkit.api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ export type SliceCaseReducers<State> = {
307307

308308
export { ThunkAction }
309309

310+
export { ThunkDispatch }
311+
310312
// @alpha (undocumented)
311313
export function unwrapResult<R extends ActionTypesWithOptionalErrorAction>(returned: R): PayloadForActionTypesExcludingErrorActions<R>;
312314

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export {
88
OutputSelector,
99
ParametricSelector
1010
} from 'reselect'
11-
export { ThunkAction } from 'redux-thunk'
11+
export { ThunkAction, ThunkDispatch } from 'redux-thunk'
1212

1313
// We deliberately enable Immer's ES5 support, on the grounds that
1414
// we assume RTK will be used with React Native and other Proxy-less

0 commit comments

Comments
 (0)