MySQL/Postgres/CloudMonitoring: Fixes issues related to babel upgrade (#32619)

This commit is contained in:
Torkel Ödegaard
2021-04-02 08:10:57 +02:00
committed by GitHub
parent d2afcdd415
commit c40947bb66
3 changed files with 11 additions and 4 deletions

View File

@ -10,9 +10,12 @@ export interface JWT {
export class CloudMonitoringConfigCtrl {
static templateUrl = 'public/app/plugins/datasource/cloud-monitoring/partials/config.html';
// Set through angular bindings
declare current: any;
declare meta: any;
datasourceSrv: DatasourceSrv;
current: any;
meta: any;
jsonText: string;
validationErrors: string[] = [];
inputDataValid: boolean;

View File

@ -7,7 +7,9 @@ import {
export class MssqlConfigCtrl {
static templateUrl = 'partials/config.html';
current: any;
// Set through angular bindings
declare current: any;
onPasswordReset: ReturnType<typeof createResetHandler>;
onPasswordChange: ReturnType<typeof createChangeHandler>;
showUserCredentials: boolean;

View File

@ -9,7 +9,9 @@ import DatasourceSrv from 'app/features/plugins/datasource_srv';
export class PostgresConfigCtrl {
static templateUrl = 'partials/config.html';
current: any;
// Set through angular bindings
declare current: any;
datasourceSrv: any;
showTimescaleDBHelp: boolean;
onPasswordReset: ReturnType<typeof createResetHandler>;