algoliasearch: add missing type for removeStopWords

closes https://github.com/algolia/algoliasearch-client-javascript/issues/741
This commit is contained in:
Haroen Viaene
2019-02-07 09:22:57 +01:00
committed by GitHub
parent 0b417416fe
commit add287a1d6
+1 -1
View File
@@ -1687,7 +1687,7 @@ declare namespace algoliasearch {
* a list of language ISO codes (as a comma-separated string) for which stop words should be enable
* https://github.com/algolia/algoliasearch-client-js#removestopwords
*/
removeStopWords?: string[];
removeStopWords?: boolean | string[];
/**
* List of attributes on which you want to apply word-splitting ("decompounding") for
* each of the languages supported (German, Dutch, and Finnish as of 05/2018)