Minor: remove two any
s from <CallScreen>
This commit is contained in:
parent
9510fd1eec
commit
2637d90df0
2 changed files with 4 additions and 6 deletions
|
@ -56,11 +56,9 @@ type StateType = {
|
|||
};
|
||||
|
||||
export class CallScreen extends React.Component<PropsType, StateType> {
|
||||
// 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<HTMLVideoElement>;
|
||||
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue