Browse Source

ref(TS) Remove flow comments in TS files (#13258)

factor2
Robert Pintilii 2 years ago
parent
commit
96b6edccf8
No account linked to committer's email address
37 changed files with 2 additions and 74 deletions
  1. 0
    2
      react/features/analytics/actionTypes.ts
  2. 0
    2
      react/features/app/reducers.any.ts
  3. 0
    2
      react/features/app/reducers.native.ts
  4. 0
    2
      react/features/base/audio-only/actionTypes.ts
  5. 0
    1
      react/features/base/conference/functions.ts
  6. 0
    2
      react/features/base/connection/actionTypes.ts
  7. 0
    2
      react/features/base/flags/constants.ts
  8. 0
    2
      react/features/base/i18n/actionTypes.ts
  9. 0
    2
      react/features/base/known-domains/actionTypes.ts
  10. 0
    2
      react/features/base/lastn/actionTypes.ts
  11. 0
    2
      react/features/base/participants/actionTypes.ts
  12. 0
    2
      react/features/base/testing/actions.ts
  13. 0
    2
      react/features/breakout-rooms/actionTypes.ts
  14. 0
    2
      react/features/calendar-sync/actionTypes.ts
  15. 0
    2
      react/features/chat/actionTypes.ts
  16. 0
    2
      react/features/chat/constants.ts
  17. 0
    2
      react/features/deep-linking/actionTypes.ts
  18. 0
    2
      react/features/dropbox/actionTypes.ts
  19. 0
    2
      react/features/face-landmarks/logger.ts
  20. 0
    2
      react/features/filmstrip/subscriber.web.ts
  21. 0
    2
      react/features/follow-me/actionTypes.ts
  22. 0
    2
      react/features/lobby/actionTypes.ts
  23. 0
    2
      react/features/mobile/watchos/actionTypes.ts
  24. 0
    2
      react/features/notifications/actionTypes.ts
  25. 0
    2
      react/features/overlay/actionTypes.ts
  26. 0
    2
      react/features/polls/actionTypes.ts
  27. 0
    2
      react/features/power-monitor/actionTypes.ts
  28. 0
    2
      react/features/recent-list/actionTypes.ts
  29. 0
    2
      react/features/recording/actionTypes.ts
  30. 0
    2
      react/features/remote-control/actionTypes.ts
  31. 0
    2
      react/features/screen-share/actionTypes.ts
  32. 0
    1
      react/features/screen-share/functions.ts
  33. 0
    2
      react/features/screenshot-capture/actionTypes.ts
  34. 0
    2
      react/features/shared-video/actionTypes.ts
  35. 2
    4
      react/features/speaker-stats/actionTypes.ts
  36. 0
    2
      react/features/speaker-stats/components/timeFunctions.ts
  37. 0
    2
      react/features/virtual-background/actionTypes.ts

+ 0
- 2
react/features/analytics/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of (redux) action which signals that local media duration has changed.
5 3
  *

+ 0
- 2
react/features/app/reducers.any.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 import '../analytics/reducer';
4 2
 import '../authentication/reducer';
5 3
 import '../av-moderation/reducer';

+ 0
- 2
react/features/app/reducers.native.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 import '../mobile/audio-mode/reducer';
4 2
 import '../mobile/background/reducer';
5 3
 import '../mobile/call-integration/reducer';

+ 0
- 2
react/features/base/audio-only/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of (redux) action which sets the audio-only flag for the current
5 3
  * conference.

+ 0
- 1
react/features/base/conference/functions.ts View File

@@ -159,7 +159,6 @@ export function forEachConference(
159 159
         // Does the value of the base/conference's property look like a
160 160
         // JitsiConference?
161 161
         if (v && typeof v === 'object') {
162
-            // $FlowFixMe
163 162
             const url: URL = v[JITSI_CONFERENCE_URL_KEY];
164 163
 
165 164
             // XXX The Web version of Jitsi Meet does not utilize

+ 0
- 2
react/features/base/connection/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of (redux) action which signals that a connection disconnected.
5 3
  *

+ 0
- 2
react/features/base/flags/constants.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * Flag indicating if add-people functionality should be enabled.
5 3
  * Default: enabled (true).

+ 0
- 2
react/features/base/i18n/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of (redux) action which signals that i18next has been initialized.
5 3
  */

+ 0
- 2
react/features/base/known-domains/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of (redux) action to add known domains to the list of domains known
5 3
  * to the feature base/known-domains.

+ 0
- 2
react/features/base/lastn/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of (redux) action which sets the last-n for the conference.
5 3
  *

+ 0
- 2
react/features/base/participants/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * Create an action for when dominant speaker changes.
5 3
  *

+ 0
- 2
react/features/base/testing/actions.ts View File

@@ -1,5 +1,3 @@
1
-/* @flow */
2
-
3 1
 import { SET_CONNECTION_STATE } from './actionTypes';
4 2
 
5 3
 // eslint-disable-next-line jsdoc/require-description-complete-sentence

+ 0
- 2
react/features/breakout-rooms/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of (redux) action to reset the breakout rooms data.
5 3
  */

+ 0
- 2
react/features/calendar-sync/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * Resets the state of calendar integration so stored events and selected
5 3
  * calendar type are cleared.

+ 0
- 2
react/features/chat/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of the action which signals to add a new chat message.
5 3
  *

+ 0
- 2
react/features/chat/constants.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The size of the chat.
5 3
  */

+ 0
- 2
react/features/deep-linking/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-/* @flow */
2
-
3 1
 /**
4 2
  * The type of the action which signals to open the conference in the desktop
5 3
  * app.

+ 0
- 2
react/features/dropbox/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of (redux) action to update the dropbox access token.
5 3
  *

+ 0
- 2
react/features/face-landmarks/logger.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 import { getLogger } from '../base/logging/functions';
4 2
 
5 3
 export default getLogger('features/face-landmarks');

+ 0
- 2
react/features/filmstrip/subscriber.web.ts View File

@@ -106,10 +106,8 @@ StateListenerRegistry.register(
106 106
         const { innerWidth, innerHeight } = window;
107 107
 
108 108
         if (isChatOpen) {
109
-            // $FlowFixMe
110 109
             document.body.classList.add('shift-right');
111 110
         } else {
112
-            // $FlowFixMe
113 111
             document.body.classList.remove('shift-right');
114 112
         }
115 113
 

+ 0
- 2
react/features/follow-me/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The id of the Follow Me moderator.
5 3
  *

+ 0
- 2
react/features/lobby/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * Action type to signal the arriving or updating of a knocking participant.
5 3
  */

+ 0
- 2
react/features/mobile/watchos/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * See {@link setConferenceTimestamp} for more details.
5 3
  * {

+ 0
- 2
react/features/notifications/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of (redux) action which signals that all the stored notifications
5 3
  * need to be cleared.

+ 0
- 2
react/features/overlay/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of the Redux action which signals that the prompt for media
5 3
  * permission is visible or not.

+ 0
- 2
react/features/polls/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of the action which signals that a Poll will be changed
5 3
  *

+ 0
- 2
react/features/power-monitor/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of the Redux action which signals that a suspend was detected.
5 3
  *

+ 0
- 2
react/features/recent-list/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * Action type to signal the deletion of a list entry.
5 3
  *

+ 0
- 2
react/features/recording/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of Redux action which clears all the data of every sessions.
5 3
  *

+ 0
- 2
react/features/remote-control/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of (redux) action which signals that the controller is capturing mouse and keyboard events.
5 3
  *

+ 0
- 2
react/features/screen-share/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * Type of action which sets the current state of screen audio sharing.
5 3
  *

+ 0
- 1
react/features/screen-share/functions.ts View File

@@ -61,6 +61,5 @@ export function isScreenVideoShared(state: IReduxState) {
61 61
     }
62 62
     const localVideo = getLocalVideoTrack(tracks);
63 63
 
64
-    // $FlowFixMe - No support for optional chain method calls in flow atm.
65 64
     return localVideo?.jitsiTrack?.getVideoType() === VIDEO_TYPE.DESKTOP;
66 65
 }

+ 0
- 2
react/features/screenshot-capture/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * Redux action type dispatched in order to toggle screenshot captures.
5 3
  *

+ 0
- 2
react/features/shared-video/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of the action which signals to update the current known state of the
5 3
  * shared video.

+ 2
- 4
react/features/speaker-stats/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * Action type to start search.
5 3
  *
@@ -32,7 +30,7 @@ export const UPDATE_STATS = 'UPDATE_STATS';
32 30
 /**
33 31
  * Action type to update the speaker stats order.
34 32
  * {
35
- *     type: UPDATE_SORTED_SPEAKER_STATS_IDS  
33
+ *     type: UPDATE_SORTED_SPEAKER_STATS_IDS
36 34
  * }
37 35
  */
38 36
 export const UPDATE_SORTED_SPEAKER_STATS_IDS = 'UPDATE_SORTED_SPEAKER_STATS_IDS'
@@ -58,7 +56,7 @@ export const RESET_SEARCH_CRITERIA = 'RESET_SEARCH_CRITERIA'
58 56
 /**
59 57
  * Action type to toggle the face expressions grid.
60 58
  * {
61
- *     type: TOGGLE_FACE_EXPRESSIONS  
59
+ *     type: TOGGLE_FACE_EXPRESSIONS
62 60
  * }
63 61
  */
64 62
 export const TOGGLE_FACE_EXPRESSIONS = 'SHOW_FACE_EXPRESSIONS';

+ 0
- 2
react/features/speaker-stats/components/timeFunctions.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * Counts how many whole hours are included in the given time total.
5 3
  *

+ 0
- 2
react/features/virtual-background/actionTypes.ts View File

@@ -1,5 +1,3 @@
1
-// @flow
2
-
3 1
 /**
4 2
  * The type of redux action dispatched which represents that the background
5 3
  * effect is enabled or not.

Loading…
Cancel
Save