@empathyco/x-components
Version:
Empathy X Components
97 lines (44 loc) • 1.2 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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'\]) => 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'\]) => void
</td><td>
Sets the module config.
</td></tr>
</tbody></table>