Commit 72e313a3 by Alexander Zobnin

heatmap: fix type error on buckets object

parent ac347fa0
...@@ -304,7 +304,7 @@ function convertToLogScaleValueBuckets(xBucket, yBucketSplitFactor, logBase) { ...@@ -304,7 +304,7 @@ function convertToLogScaleValueBuckets(xBucket, yBucketSplitFactor, logBase) {
* @return {Object} Merged buckets. * @return {Object} Merged buckets.
*/ */
function mergeBuckets(seriesBuckets) { function mergeBuckets(seriesBuckets) {
let mergedBuckets = {}; let mergedBuckets: any = {};
_.forEach(seriesBuckets, (seriesBucket, index) => { _.forEach(seriesBuckets, (seriesBucket, index) => {
if (index === 0) { if (index === 0) {
mergedBuckets = seriesBucket; mergedBuckets = seriesBucket;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment