Fix the lint error

This commit is contained in:
Sheetal Nandi 2018-02-06 14:13:13 -08:00
parent b7f69102ce
commit c5b21d4a6d

View File

@ -126,7 +126,7 @@ namespace ts {
}
function getCustomPollingBasedLevels(baseVariable: string, defaultLevels: Levels) {
let customLevels = getCustomLevels(baseVariable);
const customLevels = getCustomLevels(baseVariable);
return (pollingIntervalChanged || customLevels) &&
createPollingIntervalBasedLevels(customLevels ? { ...defaultLevels, ...customLevels } : defaultLevels);
}