From bfa18631006c3bdcb178e6947f26ecdecaedf967 Mon Sep 17 00:00:00 2001 From: Ilarion Date: Thu, 9 Apr 2020 14:32:51 +0300 Subject: [PATCH] fix(d.ts): TermsQuery `values` constructor argument type (#112) --- src/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.d.ts b/src/index.d.ts index 548e0e26..77082746 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1457,11 +1457,11 @@ declare namespace esb { * Filters documents that have fields that match any of the provided terms (**not analyzed**). * * @param {string=} field - * @param {Array|string|number|boolean=} values + * @param {Array|string|number|boolean=} values */ export function termsQuery( field?: string, - values?: string[] | string | number | boolean + values?: string[] | number[] | boolean[] | string | number | boolean ): TermsQuery; /**