ref(types): use IntervalID and TimeoutID types defined by flow
This commit is contained in:
parent
c6d553738f
commit
2b20c55bfe
|
@ -75,9 +75,9 @@ class CalleeInfo extends Component<Props, State> {
|
|||
|
||||
_onLargeVideoAvatarVisible: Function;
|
||||
|
||||
_playAudioInterval: *;
|
||||
_playAudioInterval: ?IntervalID;
|
||||
|
||||
_ringingTimeout: *;
|
||||
_ringingTimeout: ?TimeoutID;
|
||||
|
||||
_setAudio: Function;
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ type State = {
|
|||
* screen when another meeting is about to start.
|
||||
*/
|
||||
class ConferenceNotification extends Component<Props, State> {
|
||||
updateIntervalId: *;
|
||||
updateIntervalId: IntervalID;
|
||||
|
||||
/**
|
||||
* Constructor of the ConferenceNotification component.
|
||||
|
|
|
@ -88,7 +88,7 @@ export default class AbstractPageReloadOverlay extends Component<*, *> {
|
|||
|| configError);
|
||||
}
|
||||
|
||||
_interval: *;
|
||||
_interval: ?IntervalID;
|
||||
|
||||
state: {
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ type State = {
|
|||
* @extends {Component}
|
||||
*/
|
||||
class RecordingLabel extends AbstractRecordingLabel<Props, State> {
|
||||
_autohideTimeout: *;
|
||||
_autohideTimeout: TimeoutID;
|
||||
|
||||
state = {
|
||||
hidden: false
|
||||
|
|
|
@ -45,7 +45,7 @@ class SpeakerStats extends Component<*, *> {
|
|||
stats: {}
|
||||
};
|
||||
|
||||
_updateInterval: *;
|
||||
_updateInterval: IntervalID;
|
||||
|
||||
/**
|
||||
* Initializes a new SpeakerStats instance.
|
||||
|
|
Loading…
Reference in New Issue