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

@@ -2,6 +2,7 @@ import { css } from '@emotion/css';
import React, { useEffect } from 'react';
import { GrafanaTheme } from '@grafana/data';
import { FetchError } from '@grafana/runtime';
import { Button, ConfirmModal, Modal, stylesFactory, useTheme } from '@grafana/ui';
import { DashboardModel } from 'app/features/dashboard/state';
@@ -14,7 +15,7 @@ interface SaveDashboardErrorProxyProps {
dashboard: DashboardModel;
/** dashboard save model with applied modifications, i.e. title */
dashboardSaveModel: any;
error: any;
error: FetchError;
onDismiss: () => void;
}