Skip to content

Commit

Permalink
addressing PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes committed Jun 11, 2020
1 parent 8a41883 commit cc03fa5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, unknown>,
searchParams: SearchParams
) => Promise<ChartData[]>;
...args: Parameters<ChartDataFetcher>
) => ReturnType<ChartDataFetcher>;

export interface Setup {
registerProvider: (
Expand Down

0 comments on commit cc03fa5

Please sign in to comment.