feat: update type for line chart series (#175)

* feat: update type for line chart series

* fix: another place
This commit is contained in:
Krist Wongsuphasawat 2019-08-13 15:43:22 -07:00 committed by Yongjie Zhao
parent ea70378e94
commit bb501adda5

View File

@ -30,9 +30,7 @@ export interface TooltipProps {
allSeries: Series[];
datum: SeriesValue;
series: {
[key: string]: {
y: number;
};
[key: string]: SeriesValue;
};
theme: typeof chartTheme;
}
@ -215,9 +213,7 @@ export default class LineChart extends PureComponent<Props> {
}: {
datum: SeriesValue;
series: {
[key: string]: {
y: number;
};
[key: string]: SeriesValue;
};
}) => (
<TooltipRenderer