Chore: No implict any fixes (#17020)

This commit is contained in:
Torkel Ödegaard
2019-05-13 09:38:19 +02:00
committed by GitHub
parent 2fff8f77dc
commit e0b760e08e
53 changed files with 321 additions and 241 deletions

View File

@@ -78,6 +78,7 @@ export interface DataSourcePluginMeta extends PluginMeta {
logs?: boolean;
explore?: boolean;
annotations?: boolean;
alerting?: boolean;
mixed?: boolean;
hasQueryHelp?: boolean;
category?: string;
@@ -181,6 +182,11 @@ export abstract class DataSourceApi<
* static information about the datasource
*/
meta?: DataSourcePluginMeta;
/**
* Used by alerting to check if query contains template variables
*/
targetContainsTemplate?(query: TQuery): boolean;
}
export abstract class ExploreDataSourceApi<