diff --git a/packages/redux-devtools-chart-monitor/src/Chart.tsx b/packages/redux-devtools-chart-monitor/src/Chart.tsx index 10a13d50..ab82fd21 100644 --- a/packages/redux-devtools-chart-monitor/src/Chart.tsx +++ b/packages/redux-devtools-chart-monitor/src/Chart.tsx @@ -27,14 +27,14 @@ export interface Props> class Chart> extends Component> { divRef = createRef(); - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type renderChart?: (state?: {} | null | undefined) => void; componentDidMount() { const { select, state, defaultIsVisible } = this.props; this.renderChart = tree(this.divRef.current!, this.props); if (defaultIsVisible) { - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type this.renderChart(select(state!) as {} | null | undefined); } } @@ -43,7 +43,7 @@ class Chart> extends Component> { const { state, select, monitorState } = nextProps; if (monitorState.isVisible !== false) { - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-empty-object-type this.renderChart!(select(state!) as {} | null | undefined); } }