<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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)

