From 591d2b0e348a8e791db05190add78c01c41dba38 Mon Sep 17 00:00:00 2001 From: Ivana Date: Fri, 10 Jul 2020 14:52:31 +0200 Subject: [PATCH] Update type --- public/app/plugins/datasource/elasticsearch/elastic_response.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/elasticsearch/elastic_response.ts b/public/app/plugins/datasource/elasticsearch/elastic_response.ts index 06570e9923e..505b7fe8d58 100644 --- a/public/app/plugins/datasource/elasticsearch/elastic_response.ts +++ b/public/app/plugins/datasource/elasticsearch/elastic_response.ts @@ -391,7 +391,7 @@ export class ElasticResponse { } getTimeSeries() { - if (this.targets.some(target => target.metrics.some(metric => metric.type === 'raw_document_v2'))) { + if (this.targets.some((target: any) => target.metrics.some((metric: any) => metric.type === 'raw_document_v2'))) { return this.processResponseToDataFrames(false); } return this.processResponseToSeries();