Skip to content

Commit

Permalink
feat: update type for line chart series (apache#175)
Browse files Browse the repository at this point in the history
* feat: update type for line chart series

* fix: another place
  • Loading branch information
kristw authored and zhaoyongjie committed Nov 26, 2021
1 parent ea70378 commit bb501ad
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ export interface TooltipProps {
allSeries: Series[];
datum: SeriesValue;
series: {
[key: string]: {
y: number;
};
[key: string]: SeriesValue;
};
theme: typeof chartTheme;
}
Expand Down Expand Up @@ -215,9 +213,7 @@ export default class LineChart extends PureComponent<Props> {
}: {
datum: SeriesValue;
series: {
[key: string]: {
y: number;
};
[key: string]: SeriesValue;
};
}) => (
<TooltipRenderer
Expand Down

0 comments on commit bb501ad

Please sign in to comment.