<!-- 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; [setPromoteds](./x-components.searchmutations.setpromoteds.md)

## SearchMutations.setPromoteds() method

Sets the promoteds of the module.

**Signature:**

```typescript
setPromoteds(promoteds: Promoted[]): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  promoteds | Promoted\[\] | The new promoted to save to the state. |

**Returns:**

void

