UNPKG

@empathyco/x-components

Version:
25 lines (16 loc) 917 B
<!-- 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 | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [config](./x-components.configmutations.config.md) | | T\['config'\] | | | [mergeConfig](./x-components.configmutations.mergeconfig.md) | | (config: T\['config'\]) =&gt; void | Merges a new config with the current one. | | [setConfig](./x-components.configmutations.setconfig.md) | | (config: T\['config'\]) =&gt; void | Sets the module config. |