Skip to content

Commit

Permalink
[ML] Change interface TimeseriesChart to class
Browse files Browse the repository at this point in the history
  • Loading branch information
qn895 committed Nov 2, 2020
1 parent e12c721 commit b55dacc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ interface State {
annotation: Annotation | null;
}

export interface TimeseriesChart extends React.Component<Props, State> {
focusXScale: d3.scale.Ordinal<{}, number>;
}

interface TimeseriesChartProps {
annotation: object;
autoZoomDuration: number;
Expand All @@ -50,3 +46,7 @@ interface TimeseriesChartProps {
zoomToFocusLoaded: object;
tooltipService: object;
}

declare class TimeseriesChart extends React.Component<Props, any> {
focusXScale: d3.scale.Ordinal<{}, number>;
}

0 comments on commit b55dacc

Please sign in to comment.