<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [RecommendationsMutations](./x-components.recommendationsmutations.md) &gt; [setRecommendations](./x-components.recommendationsmutations.setrecommendations.md)

## RecommendationsMutations.setRecommendations() method

Sets the recommendations of the module.

**Signature:**

```typescript
setRecommendations(recommendations: Result[]): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  recommendations | Result\[\] | The recommendations list. |

**Returns:**

void

