UNPKG

@empathyco/x-components

Version:
16 lines (9 loc) 665 B
<!-- 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)