Chore: fix some more types (#72726)

fix some more types
This commit is contained in:
Ashley Harrison
2023-08-14 16:04:04 +01:00
committed by GitHub
parent 7c098c59fd
commit 963fffeef1
21 changed files with 98 additions and 145 deletions

View File

@@ -238,7 +238,7 @@ export class TimeSrv {
if (interval === AutoRefreshInterval) {
intervalMs = this.getAutoRefreshInteval().intervalMs;
} else {
refresh = this.contextSrv.getValidInterval(interval as string);
refresh = this.contextSrv.getValidInterval(interval);
intervalMs = rangeUtil.intervalToMs(refresh);
}