diff --git a/.betterer.results b/.betterer.results index 3ddad488ca5..9ea6bdfc787 100644 --- a/.betterer.results +++ b/.betterer.results @@ -4495,9 +4495,7 @@ exports[`better eslint`] = { [0, 0, 0, "Do not use any type assertions.", "0"], [0, 0, 0, "Unexpected any. Specify a different type.", "1"], [0, 0, 0, "Do not use any type assertions.", "2"], - [0, 0, 0, "Unexpected any. Specify a different type.", "3"], - [0, 0, 0, "Do not use any type assertions.", "4"], - [0, 0, 0, "Do not use any type assertions.", "5"] + [0, 0, 0, "Do not use any type assertions.", "3"] ], "public/app/features/query/state/runRequest.test.ts:5381": [ [0, 0, 0, "Unexpected any. Specify a different type.", "0"] diff --git a/public/app/features/query/state/PanelQueryRunner.ts b/public/app/features/query/state/PanelQueryRunner.ts index 0aaeb6f7add..0c64685b224 100644 --- a/public/app/features/query/state/PanelQueryRunner.ts +++ b/public/app/features/query/state/PanelQueryRunner.ts @@ -239,11 +239,9 @@ export class PanelQueryRunner { scopedVars: scopedVars || {}, cacheTimeout, startTime: Date.now(), + rangeRaw: timeRange.raw, }; - // Add deprecated property - (request as any).rangeRaw = timeRange.raw; - try { const ds = await getDataSource(datasource, request.scopedVars, publicDashboardAccessToken); const isMixedDS = ds.meta?.mixed;