<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SearchMutations](./x-components.searchmutations.md) &gt; [setRedirections](./x-components.searchmutations.setredirections.md)

## SearchMutations.setRedirections() method

Sets the redirection of the module.

**Signature:**

```typescript
setRedirections(redirections: Redirection[]): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  redirections | Redirection\[\] | The redirections to store. |

**Returns:**

void

