Skip to content

Commit

Permalink
Changed the type of tickFormatter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuznietsov committed Sep 21, 2021
1 parent d00c6a9 commit 884bc38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/vis_types/xy/public/config/get_axis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function getAxis<S extends XScaleType | YScaleType>(
show: valueAxis === axis.id,
};

const tickFormatter = (v: any) =>
const tickFormatter: TickFormatter = (v) =>
isSimpleField(format) || shouldApplyFormatter ? formatter?.(v) ?? v : v;

const ticks: TickOptions = {
Expand Down

0 comments on commit 884bc38

Please sign in to comment.