UNPKG

@empathyco/x-components

Version:
25 lines (14 loc) 602 B
<!-- 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; [setResults](./x-components.searchmutations.setresults.md) ## SearchMutations.setResults() method Sets the results of the module. **Signature:** ```typescript setResults(results: Result[]): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | results | Result\[\] | The new results to save to the state. | **Returns:** void