fix: lint (#79)

This commit is contained in:
Krist Wongsuphasawat 2019-05-05 16:14:16 -07:00 committed by Yongjie Zhao
parent f1c113c9b3
commit eefb1cf1b7

View File

@ -60,6 +60,9 @@ const CIRCLE_STYLE = { strokeWidth: 1.5 };
class LineChart extends PureComponent<Props> {
static defaultProps = defaultProps;
encoder: Encoder;
private createEncoder: () => void;
constructor(props: Props) {
super(props);
@ -76,9 +79,6 @@ class LineChart extends PureComponent<Props> {
this.renderChart = this.renderChart.bind(this);
}
encoder: Encoder;
private createEncoder: () => void;
renderChart(dim: Dimension) {
const { width, height } = dim;
const { data, margin, theme } = this.props;