@empathyco/x-components
Version:
Empathy X Components
16 lines (9 loc) • 665 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [MutationNamesFor](./x-components.mutationnamesfor.md)
## MutationNamesFor type
Returns the mutation names for a given module. They are the namespaced mutations.
**Signature:**
```typescript
export type MutationNamesFor<ModuleName extends XModuleName> = keyof ExtractMutations<XModulesTree[ModuleName]>;
```
**References:** [XModuleName](./x-components.xmodulename.md)<!-- -->, [ExtractMutations](./x-components.extractmutations.md)<!-- -->, [XModulesTree](./x-components.xmodulestree.md)