From add287a1d6eedf8d8ad9ccfac159ff5265970b1e Mon Sep 17 00:00:00 2001 From: Haroen Viaene Date: Thu, 7 Feb 2019 09:22:57 +0100 Subject: [PATCH] algoliasearch: add missing type for removeStopWords closes https://github.com/algolia/algoliasearch-client-javascript/issues/741 --- types/algoliasearch/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/algoliasearch/index.d.ts b/types/algoliasearch/index.d.ts index 04291996ba..633b681432 100644 --- a/types/algoliasearch/index.d.ts +++ b/types/algoliasearch/index.d.ts @@ -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)