Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
afgomez authored and Alejandro Fernández Gómez committed Aug 7, 2020
1 parent 9e339c5 commit 245bc8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { encode } from 'rison-node';
import { TimeRange } from '../../../../common/http_api/shared/time_range';
import { useLinkProps, LinkDescriptor } from '../../../hooks/use_link_props';

type DatemathRange = TimeRange & { startTime: string; endTime: string };
type DatemathRange = TimeRange | { startTime: string; endTime: string };

export const AnalyzeInMlButton: React.FunctionComponent<{
jobId: string;
Expand Down

0 comments on commit 245bc8b

Please sign in to comment.