Chore: fix some anys pt.2 (#53928)

* correctly type some more any's

* undo this change for now...
This commit is contained in:
Ashley Harrison
2022-08-22 16:51:33 +01:00
committed by GitHub
parent 2b17e5354a
commit 3cf95d7eee
42 changed files with 113 additions and 190 deletions

View File

@@ -1,6 +1,6 @@
import React, { FC, useState } from 'react';
import { SelectableValue, urlUtil } from '@grafana/data';
import { SelectableValue, UrlQueryMap, urlUtil } from '@grafana/data';
import { locationService } from '@grafana/runtime';
import { Button, Checkbox, Field, FieldSet, Modal, RadioButtonGroup } from '@grafana/ui';
@@ -22,7 +22,7 @@ export const StartModal: FC<StartModalProps> = ({ playlist, onDismiss }) => {
];
const onStart = () => {
const params: any = {};
const params: UrlQueryMap = {};
if (mode) {
params.kiosk = mode;
}