Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Commit

Permalink
feat: update type for line chart series (#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 Aug 13, 2019
1 parent 8479099 commit c920d55
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/superset-ui-preset-chart-xy/src/Line/Line.tsx
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 c920d55

Please sign in to comment.