<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [ExtractMutations](./x-components.extractmutations.md)

## ExtractMutations type

Extracts the mutations type from a XStoreModule.

**Signature:**

```typescript
export type ExtractMutations<Module extends AnyXModule> = Module extends XModule<XStoreModule<any, any, infer Mutations, any>> ? Mutations : never;
```
**References:** [AnyXModule](./x-components.anyxmodule.md)<!-- -->, [XModule](./x-components.xmodule.md)<!-- -->, [XStoreModule](./x-components.xstoremodule.md)

