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();