style: fix eslint errors
Change-Id: Ib99b0010bcd00df3ee4e30f7c1b787cfe7d5e9ab
diff --git a/src/features/autoRefresh/nodeWatcherHandlers/threadListHide.handler.ts b/src/features/autoRefresh/nodeWatcherHandlers/threadListHide.handler.ts
index 4b1082d..d0a41de 100644
--- a/src/features/autoRefresh/nodeWatcherHandlers/threadListHide.handler.ts
+++ b/src/features/autoRefresh/nodeWatcherHandlers/threadListHide.handler.ts
@@ -1,5 +1,5 @@
import CssSelectorNodeWatcherScriptHandler from '../../../common/architecture/scripts/nodeWatcher/handlers/CssSelectorNodeWatcherScriptHandler';
-import { NodeMutation, NodeMutationType } from '../../../common/nodeWatcher/NodeWatcherHandler';
+import { NodeMutationType } from '../../../common/nodeWatcher/NodeWatcherHandler';
import { AutoRefreshNodeWatcherDependencies } from '../scripts/nodeWatcher.script';
/**
@@ -12,7 +12,7 @@
NodeMutationType.RemovedNode,
];
- onMutatedNode(_: NodeMutation) {
+ onMutatedNode() {
this.options.autoRefresh.hideUpdatePrompt();
}
}
diff --git a/src/features/autoRefresh/nodeWatcherHandlers/threadListSetUp.handler.ts b/src/features/autoRefresh/nodeWatcherHandlers/threadListSetUp.handler.ts
index 554be00..4806ed3 100644
--- a/src/features/autoRefresh/nodeWatcherHandlers/threadListSetUp.handler.ts
+++ b/src/features/autoRefresh/nodeWatcherHandlers/threadListSetUp.handler.ts
@@ -1,5 +1,4 @@
import CssSelectorNodeWatcherScriptHandler from '../../../common/architecture/scripts/nodeWatcher/handlers/CssSelectorNodeWatcherScriptHandler';
-import { NodeMutation } from '../../../common/nodeWatcher/NodeWatcherHandler';
import { AutoRefreshNodeWatcherDependencies } from '../scripts/nodeWatcher.script';
/**
@@ -8,7 +7,7 @@
export default class AutoRefreshThreadListSetUpHandler extends CssSelectorNodeWatcherScriptHandler<AutoRefreshNodeWatcherDependencies> {
cssSelector = 'ec-thread-list';
- onMutatedNode(_: NodeMutation) {
+ onMutatedNode() {
this.options.autoRefresh.setUp();
}
}