Skip to content

Commit 61c2976

Browse files
authored
feat(search): add type for queryLanguages (#1406)
According to https://www.algolia.com/doc/api-reference/api-parameters/queryLanguages/?client=javascript, it can be sent as a search parameter too. fixes#1405
1 parent 283e38c commit 61c2976

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎packages/client-search/src/types/SearchOptions.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,4 +368,9 @@ export type SearchOptions = {
368368
|readonlystring[]
369369
|ReadonlyArray<readonlystring[]|string>
370370
|null;
371+
372+
/**
373+
* Sets the languages to be used by language-specific settings and functionalities such as ignorePlurals, removeStopWords, and CJK word-detection.
374+
*/
375+
readonlyqueryLanguages?: readonlystring[];
371376
};

0 commit comments

Comments
 (0)