Skip to content

Commit

Permalink
fix: parameters type on VariableWidthHistogramAggregation.buckets (#173)
Browse files Browse the repository at this point in the history
Avoid triggering an error:

    error TS7006: Parameter 'buckets' implicitly has an 'any' type
  • Loading branch information
ruicsh authored Mar 13, 2023
1 parent 713bdd2 commit 664057b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5119,7 +5119,7 @@ declare namespace esb {
* @param {number} buckets Bucket count to generate histogram over.
* @returns {VariableWidthHistogramAggregation} returns `this` so that calls can be chained
*/
buckets(buckets): this;
buckets(buckets: number): this;
}

/**
Expand Down

0 comments on commit 664057b

Please sign in to comment.