Skip to content

Commit

Permalink
cleaning up code
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Dec 9, 2019
1 parent a54952b commit b5a840e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const useResolver = (

if (indexPatternId !== undefined || savedSearchId !== undefined) {
// note, currently we're using our own kibana context that requires a current index pattern to be set
// this means, if the page uses this context, useResolve must be passed a string for the index pattern id
// this means, if the page uses this context, useResolver must be passed a string for the index pattern id
// and loadIndexPatterns must be part of the resolvers.
const { indexPattern, savedSearch } =
savedSearchId !== undefined
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
* you may not use this file except in compliance with the Elastic License.
*/

// export { indexOrSearchRoute } from './index_or_search';
// export { jobTypeRoute } from './job_type';
// export { newJobRoute } from './new_job';
// export { singleMetricRoute, multiMetricRoute, populationRoute, advancedRoute } from './wizard';
// export { /* checkViewOrCreateRoute,*/ recognizeRoute } from './recognize';

export * from './index_or_search';
export * from './job_type';
export * from './new_job';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
* you may not use this file except in compliance with the Elastic License.
*/

import { Timefilter } from 'ui/timefilter';
import { FC } from 'react';

// declare const TimeSeriesExplorer: FC<{
// appStateHandler: any;
// dateFormatTz: any;
// globalState: any;
// timefilter: any;
// }>;

export function TimeSeriesExplorer(props: any): any;
declare const TimeSeriesExplorer: FC<{
appStateHandler: (action: string, payload: any) => void;
dateFormatTz: string;
globalState: any;
timefilter: Timefilter;
}>;

0 comments on commit b5a840e

Please sign in to comment.