Skip to content

Commit

Permalink
change interpreter type for colorRange and font
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwizp committed Aug 2, 2019
1 parent c2b2b63 commit 2947f38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/legacy/core_plugins/metric_vis/public/metric_vis_fn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { i18n } from '@kbn/i18n';
// @ts-ignore
import { vislibColorMaps } from 'ui/vislib/components/color/colormaps';

import { ExpressionFunction, KibanaDatatable, Render } from '../../interpreter/types';
import { ExpressionFunction, KibanaDatatable, Render, Range, Style } from '../../interpreter/types';

// Todo: breaking change. Should contains one value
type name = 'metric' | 'metricVis';
Expand All @@ -38,8 +38,8 @@ interface Arguments {
showLabels: boolean;
bgFill: string;
subText: string;
colorRange: any[]; // these aren't typed yet
font: any; // these aren't typed yet
colorRange: Range[];
font: Style;
metric: any[]; // these aren't typed yet
bucket: any; // these aren't typed yet
}
Expand Down

0 comments on commit 2947f38

Please sign in to comment.