mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
noImplicitAnys: Fix InfluxDB type issues #17937)
This commit is contained in:
committed by
Torkel Ödegaard
parent
de71875e6b
commit
418dba4b21
@@ -1,7 +1,7 @@
|
||||
import _ from 'lodash';
|
||||
import kbn from 'app/core/utils/kbn';
|
||||
|
||||
function renderTagCondition(tag, index) {
|
||||
function renderTagCondition(tag: { operator: any; value: string; condition: any; key: string }, index: number) {
|
||||
let str = '';
|
||||
let operator = tag.operator;
|
||||
let value = tag.value;
|
||||
@@ -26,7 +26,7 @@ function renderTagCondition(tag, index) {
|
||||
}
|
||||
|
||||
export class InfluxQueryBuilder {
|
||||
constructor(private target, private database?) {}
|
||||
constructor(private target: { measurement: any; tags: any; policy?: any }, private database?: string) {}
|
||||
|
||||
buildExploreQuery(type: string, withKey?: string, withMeasurementFilter?: string) {
|
||||
let query;
|
||||
|
||||
Reference in New Issue
Block a user