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 24, 2021
1 parent c5bf3f3 commit 194a7b5
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 194a7b5

Please sign in to comment.