<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [XActionContext](./x-components.xactioncontext.md)

## XActionContext interface

Type safe Vuex [Action](https://vuex.vuejs.org/api/#actions) context, with the local types of the module.

**Signature:**

```typescript
export interface XActionContext<State extends Dictionary, Getters extends Dictionary, Mutations extends MutationsDictionary<Mutations>, Actions extends ActionsDictionary<Actions>> extends ActionContext<State, RootXStoreState> 
```
**Extends:** ActionContext&lt;State, [RootXStoreState](./x-components.rootxstorestate.md)<!-- -->&gt;

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [getters](./x-components.xactioncontext.getters.md) |  | Getters |  |

## Methods

|  Method | Description |
|  --- | --- |
|  [commit(mutation)](./x-components.xactioncontext.commit.md) |  |
|  [commit(mutation, payload)](./x-components.xactioncontext.commit_1.md) |  |
|  [dispatch(action)](./x-components.xactioncontext.dispatch.md) |  |
|  [dispatch(action, payload)](./x-components.xactioncontext.dispatch_1.md) |  |

