diff --git a/.betterer.results b/.betterer.results index 7f1610b1ff5..a695cf94129 100644 --- a/.betterer.results +++ b/.betterer.results @@ -330,8 +330,7 @@ exports[`better eslint`] = { [0, 0, 0, "Unexpected any. Specify a different type.", "21"], [0, 0, 0, "Unexpected any. Specify a different type.", "22"], [0, 0, 0, "Unexpected any. Specify a different type.", "23"], - [0, 0, 0, "Unexpected any. Specify a different type.", "24"], - [0, 0, 0, "Unexpected any. Specify a different type.", "25"] + [0, 0, 0, "Unexpected any. Specify a different type.", "24"] ], "packages/grafana-data/src/types/explore.ts:5381": [ [0, 0, 0, "Unexpected any. Specify a different type.", "0"] diff --git a/packages/grafana-data/src/types/datasource.ts b/packages/grafana-data/src/types/datasource.ts index 96a1e792762..68faf1d72e3 100644 --- a/packages/grafana-data/src/types/datasource.ts +++ b/packages/grafana-data/src/types/datasource.ts @@ -428,7 +428,10 @@ export interface QueryEditorProps< */ data?: PanelData; range?: TimeRange; - exploreId?: any; + /** + * @deprecated This is not used anymore and will be removed in a future release. + */ + exploreId?: string; history?: Array>; queries?: DataQuery[]; app?: CoreApp; diff --git a/public/app/plugins/datasource/cloudwatch/components/QueryEditor/LogsQueryEditor/LogsQueryEditor.tsx b/public/app/plugins/datasource/cloudwatch/components/QueryEditor/LogsQueryEditor/LogsQueryEditor.tsx index 4daf3a5aa66..14222b9af46 100644 --- a/public/app/plugins/datasource/cloudwatch/components/QueryEditor/LogsQueryEditor/LogsQueryEditor.tsx +++ b/public/app/plugins/datasource/cloudwatch/components/QueryEditor/LogsQueryEditor/LogsQueryEditor.tsx @@ -22,7 +22,7 @@ const labelClass = css` `; export const CloudWatchLogsQueryEditor = memo(function CloudWatchLogsQueryEditor(props: Props) { - const { query, data, datasource, exploreId } = props; + const { query, data, datasource } = props; let absolute: AbsoluteTimeRange; if (data?.request?.range?.from) { @@ -50,7 +50,6 @@ export const CloudWatchLogsQueryEditor = memo(function CloudWatchLogsQueryEditor ) : ( void; ExtraFieldElement?: ReactNode; - exploreId: string; query: CloudWatchLogsQuery; } const plugins: Array> = [