UNPKG

@empathyco/x-components

Version:
97 lines (44 loc) 1.2 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [ConfigMutations](./x-components.configmutations.md) ## ConfigMutations interface Config mutations, containing a method to change the current config and other to merge a new one. **Signature:** ```typescript export interface ConfigMutations<T extends { config: T['config']; }> ``` ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> [config](./x-components.configmutations.config.md) </td><td> </td><td> T\['config'\] </td><td> </td></tr> <tr><td> [mergeConfig](./x-components.configmutations.mergeconfig.md) </td><td> </td><td> (config: T\['config'\]) =&gt; void </td><td> Merges a new config with the current one. </td></tr> <tr><td> [setConfig](./x-components.configmutations.setconfig.md) </td><td> </td><td> (config: T\['config'\]) =&gt; void </td><td> Sets the module config. </td></tr> </tbody></table>