tslint: autofix of let -> const (#13033)

This commit is contained in:
Torkel Ödegaard
2018-08-26 17:14:40 +02:00
committed by GitHub
parent 8a99fa269d
commit 9b978b7203
167 changed files with 1077 additions and 1081 deletions

View File

@@ -3,7 +3,7 @@ import $q from 'q';
import { TemplateSrvStub } from 'test/specs/helpers';
describe('InfluxDataSource', () => {
let ctx: any = {
const ctx: any = {
backendSrv: {},
$q: $q,
templateSrv: new TemplateSrvStub(),
@@ -16,8 +16,8 @@ describe('InfluxDataSource', () => {
});
describe('When issuing metricFindQuery', () => {
let query = 'SELECT max(value) FROM measurement WHERE $timeFilter';
let queryOptions: any = {
const query = 'SELECT max(value) FROM measurement WHERE $timeFilter';
const queryOptions: any = {
range: {
from: '2018-01-01T00:00:00Z',
to: '2018-01-02T00:00:00Z',