Update type

This commit is contained in:
Ivana
2020-07-10 14:52:31 +02:00
parent 9407731dac
commit 591d2b0e34
@@ -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();