Skip to content

Commit

Permalink
fix(d.ts): TermsQuery values constructor argument type (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
IlarionHalushka authored Apr 9, 2020
1 parent b730809 commit bfa1863
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>|string|number|boolean=} values
*/
export function termsQuery(
field?: string,
values?: string[] | string | number | boolean
values?: string[] | number[] | boolean[] | string | number | boolean
): TermsQuery;

/**
Expand Down

0 comments on commit bfa1863

Please sign in to comment.