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

@@ -140,12 +140,12 @@ const flotDeps = [
'jquery.flot.events',
'jquery.flot.gauge',
];
for (let flotDep of flotDeps) {
for (const flotDep of flotDeps) {
exposeToPlugin(flotDep, { fakeDep: 1 });
}
export function importPluginModule(path: string): Promise<any> {
let builtIn = builtInPlugins[path];
const builtIn = builtInPlugins[path];
if (builtIn) {
return Promise.resolve(builtIn);
}