diff --git a/x-pack/plugins/observability/public/typings/data_access_service.d.ts b/x-pack/plugins/observability/public/typings/data_access_service.d.ts index 3c37666a93e59..6481839c2ecee 100644 --- a/x-pack/plugins/observability/public/typings/data_access_service.d.ts +++ b/x-pack/plugins/observability/public/typings/data_access_service.d.ts @@ -4,13 +4,13 @@ * you may not use this file except in compliance with the Elastic License. */ -import { SearchParams, ChartData, ChartDataFetcher } from '../../typings/chart'; +import { ChartDataFetcher } from '../../typings/chart'; import { IContextProvider } from '../../../../../src/core/public'; export type DataAccessHandlerProvider = ( context: Record, - searchParams: SearchParams -) => Promise; + ...args: Parameters +) => ReturnType; export interface Setup { registerProvider: (