Minor: remove two any
s from <CallScreen>
This commit is contained in:
@@ -56,11 +56,9 @@ type StateType = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export class CallScreen extends React.Component<PropsType, StateType> {
|
export class CallScreen extends React.Component<PropsType, StateType> {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
private interval: NodeJS.Timeout | null;
|
||||||
private interval: any;
|
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
private controlsFadeTimer: NodeJS.Timeout | null;
|
||||||
private controlsFadeTimer: any;
|
|
||||||
|
|
||||||
private readonly localVideoRef: React.RefObject<HTMLVideoElement>;
|
private readonly localVideoRef: React.RefObject<HTMLVideoElement>;
|
||||||
|
|
||||||
|
@@ -12863,7 +12863,7 @@
|
|||||||
"rule": "React-createRef",
|
"rule": "React-createRef",
|
||||||
"path": "ts/components/CallScreen.tsx",
|
"path": "ts/components/CallScreen.tsx",
|
||||||
"line": " this.localVideoRef = React.createRef();",
|
"line": " this.localVideoRef = React.createRef();",
|
||||||
"lineNumber": 80,
|
"lineNumber": 78,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2020-06-02T21:51:34.813Z",
|
"updated": "2020-06-02T21:51:34.813Z",
|
||||||
"reasonDetail": "Used to render local preview video"
|
"reasonDetail": "Used to render local preview video"
|
||||||
@@ -12872,7 +12872,7 @@
|
|||||||
"rule": "React-createRef",
|
"rule": "React-createRef",
|
||||||
"path": "ts/components/CallScreen.tsx",
|
"path": "ts/components/CallScreen.tsx",
|
||||||
"line": " this.remoteVideoRef = React.createRef();",
|
"line": " this.remoteVideoRef = React.createRef();",
|
||||||
"lineNumber": 81,
|
"lineNumber": 79,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2020-09-14T23:03:44.863Z"
|
"updated": "2020-09-14T23:03:44.863Z"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user