From 501878471791f959d3fa949f4d9e3dcef323d38c Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Thu, 14 Jul 2022 11:52:41 +0200 Subject: [PATCH] Chore: Remove any that was introduced in a test (#52203) (#52206) (cherry picked from commit cabdfb4811443e5f9597fb4b7bb52ddaecdb15a4) Co-authored-by: Josh Hunt --- public/app/core/components/NavBar/utils.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/core/components/NavBar/utils.test.ts b/public/app/core/components/NavBar/utils.test.ts index 3ac5122f482..5ff932646a0 100644 --- a/public/app/core/components/NavBar/utils.test.ts +++ b/public/app/core/components/NavBar/utils.test.ts @@ -1,6 +1,6 @@ import { Location } from 'history'; -import { locationUtil, NavModelItem } from '@grafana/data'; +import { GrafanaConfig, locationUtil, NavModelItem } from '@grafana/data'; import { ContextSrv, setContextSrv } from 'app/core/services/context_srv'; import { updateConfig } from '../../config'; @@ -199,7 +199,7 @@ describe('getActiveItem', () => { ]; beforeEach(() => { locationUtil.initialize({ - config: { appSubUrl: '/subUrl' } as any, + config: { appSubUrl: '/subUrl' } as GrafanaConfig, getVariablesUrlParams: () => ({}), getTimeRangeForUrl: () => ({ from: 'now-7d', to: 'now' }), });