Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
flow: tame the beast (coding style)
Lyubo Marinovcbd510bf7dbd
diff --git a/react/features/base/dialog/components/Dialog.native.js b/react/features/base/dialog/components/Dialog.native.jsindex ee68f082d9..ff702c728e 100644--- a/react/features/base/dialog/components/Dialog.native.js+++ b/react/features/base/dialog/components/Dialog.native.js@@ -162,7 +162,7 @@ class Dialog extends AbstractDialog<Props, State> {// * If this Dialog has children, they are to be rendered// instead of Prompt's TextInput.if (children) {- // $FlowFixMe+ // $FlowExpectedErrorel = children; // eslint-disable-line no-param-reassignchildren = undefined;}@@ -173,7 +173,7 @@ class Dialog extends AbstractDialog<Props, State> {if (style&& (style = StyleSheet.flatten(style))&& _TAG_KEY in style) {- // $FlowFixMe+ // $FlowExpectedErrorswitch (style[_TAG_KEY]) {case _SUBMIT_TEXT_TAG_VALUE:if (this.state.submitting) {diff --git a/react/features/calendar-sync/components/ConferenceNotification.native.js b/react/features/calendar-sync/components/ConferenceNotification.native.jsindex 5d391e0b59..2128b7a4ab 100644--- a/react/features/calendar-sync/components/ConferenceNotification.native.js+++ b/react/features/calendar-sync/components/ConferenceNotification.native.js@@ -15,6 +15,10 @@ import styles from './styles';const ALERT_MILLISECONDS = 5 * 60 * 1000;+/**+ * The type of the React {@code Component} props of+ * {@link ConferenceNotification}.+ */type Props = {/**@@ -43,6 +47,10 @@ type Props = {t: Function};+/**+ * The type of the React {@code Component} state of+ * {@link ConferenceNotification}.+ */type State = {/**@@ -70,6 +78,7 @@ class ConferenceNotification extends Component<Props, State> {event: undefined};+ // Bind event handlers so they are only bound once per instance.this._getNotificationContentStyle= this._getNotificationContentStyle.bind(this);this._getNotificationPositiondiff --git a/react/features/calendar-sync/components/MeetingList.native.js b/react/features/calendar-sync/components/MeetingList.native.jsindex b312341c7b..fb67b9a5df 100644--- a/react/features/calendar-sync/components/MeetingList.native.js+++ b/react/features/calendar-sync/components/MeetingList.native.js@@ -13,6 +13,9 @@ import { refreshCalendar } from '../actions';import { CALENDAR_ENABLED } from '../constants';import styles from './styles';+/**+ * The tyoe of the React {@code Component} props of {@link MeetingList}.+ */type Props = {/**@@ -77,6 +80,7 @@ class MeetingList extends Component<Props> {constructor(props) {super(props);+ // Bind event handlers so they are only bound once per instance.this._getRenderListEmptyComponent= this._getRenderListEmptyComponent.bind(this);this._onPress = this._onPress.bind(this);