<!-- 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; [setSpellcheck](./x-components.searchmutations.setspellcheck.md)

## SearchMutations.setSpellcheck() method

Sets the spellcheckedQuery of the module.

**Signature:**

```typescript
setSpellcheck(spellcheckedQuery: string): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  spellcheckedQuery | string | The new spellcheck string to save to the state. |

**Returns:**

void

