<!-- 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) &gt; [setConfig](./x-components.configmutations.setconfig.md)

## ConfigMutations.setConfig() method

Sets the module config.

**Signature:**

```typescript
setConfig(config: T['config']): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  config | T\['config'\] | The new config. |

**Returns:**

void

