# Function bindActionCreators

- bindActionCreators<A, C>(actionCreator, dispatch): C

- Turns an object whose values are action creators, into an object with the same keys, but with every function wrapped into a `dispatch` call so they may be invoked directly. This is just a convenience method, as you can call `store.dispatch(MyActionCreators.doSomething())` yourself just fine.

  For convenience, you can also pass a single function as the first argument, and get a function in return.

  #### Type Parameters

  - A
  - C extends ActionCreator<A>

  #### Parameters

  - actionCreator: C

    An object whose values are action creator functions. One handy way to obtain it is to use ES6 `import * as` syntax. You may also pass a single function.

  - dispatch: Dispatch<AnyAction>

    The `dispatch` function available on your Redux store.

  #### Returns C

  The object mimicking the original object, but with every action creator wrapped into the `dispatch` call. If you passed a function as `actionCreator`, the return value will also be a single function.

  - Defined in common/temp/node_modules/.pnpm/redux@4.2.1/node_modules/redux/index.d.ts:666
- bindActionCreators<A, B>(actionCreator, dispatch): B

- #### Type Parameters

  - A extends ActionCreator<any>
  - B extends ActionCreator<any>

  #### Parameters

  - actionCreator: A
  - dispatch: Dispatch<AnyAction>

  #### Returns B

  - Defined in common/temp/node_modules/.pnpm/redux@4.2.1/node_modules/redux/index.d.ts:671
- bindActionCreators<A, M>(actionCreators, dispatch): M

- #### Type Parameters

  - A
  - M extends ActionCreatorsMapObject<A>

  #### Parameters

  - actionCreators: M
  - dispatch: Dispatch<AnyAction>

  #### Returns M

  - Defined in common/temp/node_modules/.pnpm/redux@4.2.1/node_modules/redux/index.d.ts:676
- bindActionCreators<M, N>(actionCreators, dispatch): N

- #### Type Parameters

  - M extends ActionCreatorsMapObject<any>
  - N extends ActionCreatorsMapObject<any>

  #### Parameters

  - actionCreators: M
  - dispatch: Dispatch<AnyAction>

  #### Returns N

  - Defined in common/temp/node_modules/.pnpm/redux@4.2.1/node_modules/redux/index.d.ts:681