From 664057b2db8d20ea757b0cec4517f666dec91e46 Mon Sep 17 00:00:00 2001 From: Rui Costa Date: Mon, 13 Mar 2023 08:42:08 +0000 Subject: [PATCH] fix: parameters type on VariableWidthHistogramAggregation.buckets (#173) Avoid triggering an error: error TS7006: Parameter 'buckets' implicitly has an 'any' type --- src/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.d.ts b/src/index.d.ts index 6733953..597309d 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -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; } /**