mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
Chore: Remove any type assertion in PanelQueryRunner (#60096)
This commit is contained in:
parent
6f64dd533f
commit
af719888d6
@ -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"]
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user