Skip to content

Commit

Permalink
feat(search): add type for queryLanguages (#1406)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv committed May 17, 2022
1 parent 283e38c commit 61c2976
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/client-search/src/types/SearchOptions.ts
Expand Up @@ -368,4 +368,9 @@ export type SearchOptions = {
| readonly string[]
| ReadonlyArray<readonly string[] | string>
| null;

/**
* Sets the languages to be used by language-specific settings and functionalities such as ignorePlurals, removeStopWords, and CJK word-detection.
*/
readonly queryLanguages?: readonly string[];
};

0 comments on commit 61c2976

Please sign in to comment.