We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c0d688 commit 687e2feCopy full SHA for 687e2fe
src/bindActionCreators.ts
@@ -4,7 +4,7 @@ import { kindOf } from './utils/kindOf'
4
5
function bindActionCreator<A extends Action>(
6
actionCreator: ActionCreator<A>,
7
- dispatch: Dispatch
+ dispatch: Dispatch<A>
8
) {
9
return function (this: any, ...args: any[]) {
10
return dispatch(actionCreator.apply(this, args))
0 commit comments