@empathyco/x-components
Version:
Empathy X Components
16 lines (9 loc) • 647 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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)