From c9dbfcef5438a7f5d1e5546912f6dc87c09f38ec Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Sun, 4 Aug 2024 20:02:41 -0400 Subject: [PATCH] chart-monitor --- packages/redux-devtools-chart-monitor/src/Chart.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } }