@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 648 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SearchMutations](./x-components.searchmutations.md) > [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