diff --git a/ts/components/CallScreen.tsx b/ts/components/CallScreen.tsx index eefe29e99..113e060c8 100644 --- a/ts/components/CallScreen.tsx +++ b/ts/components/CallScreen.tsx @@ -56,11 +56,9 @@ type StateType = { }; export class CallScreen extends React.Component { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - private interval: any; + private interval: NodeJS.Timeout | null; - // eslint-disable-next-line @typescript-eslint/no-explicit-any - private controlsFadeTimer: any; + private controlsFadeTimer: NodeJS.Timeout | null; private readonly localVideoRef: React.RefObject; diff --git a/ts/util/lint/exceptions.json b/ts/util/lint/exceptions.json index 7e62c43c6..f0a851588 100644 --- a/ts/util/lint/exceptions.json +++ b/ts/util/lint/exceptions.json @@ -12863,7 +12863,7 @@ "rule": "React-createRef", "path": "ts/components/CallScreen.tsx", "line": " this.localVideoRef = React.createRef();", - "lineNumber": 80, + "lineNumber": 78, "reasonCategory": "usageTrusted", "updated": "2020-06-02T21:51:34.813Z", "reasonDetail": "Used to render local preview video" @@ -12872,7 +12872,7 @@ "rule": "React-createRef", "path": "ts/components/CallScreen.tsx", "line": " this.remoteVideoRef = React.createRef();", - "lineNumber": 81, + "lineNumber": 79, "reasonCategory": "usageTrusted", "updated": "2020-09-14T23:03:44.863Z" },