fix(lint) fix all eslint warnings

This commit is contained in:
Saúl Ibarra Corretgé 2021-11-26 09:11:23 +01:00 committed by Saúl Ibarra Corretgé
parent 1623dc4989
commit c5920bb8a5
4 changed files with 13 additions and 8 deletions

View File

@ -14,10 +14,12 @@ import {
} from './actionTypes';
/**
* @typedef {Object} Track
* @property {(JitsiLocalTrack|JitsiRemoteTrack)} [jitsiTrack] - The associated
* Track type.
*
* @typedef {object} Track
* @property {JitsiLocalTrack|JitsiRemoteTrack} jitsiTrack - The associated
* {@code JitsiTrack} instance. Optional for local tracks if those are still
* being created (i.e. {@code getUserMedia} is still in progress).
* being created (ie {@code getUserMedia} is still in progress).
* @property {Promise} [gumProcess] - If a local track is still being created,
* it will have no {@code JitsiTrack}, but a {@code gumProcess} set to a
* {@code Promise} with and extra {@code cancel()}.

View File

@ -26,15 +26,18 @@ export const DISCO_REMOTE_CONTROL_FEATURE = 'http://jitsi.org/meet/remotecontrol
* Supported by keydown and keyup types.
* @property {PERMISSIONS_ACTIONS} action - Supported by type === permissions.
* Represents the action related to the permissions event.
*/
/**
* Optional properties. Supported for permissions event for action === request.
*
* Optional properties. Supported for permissions event for action === request:
* @property {string} userId - The user id of the participant that has sent the
* request.
* @property {string} userJID - The full JID in the MUC of the user that has
* sent the request.
* @property {string} displayName - the displayName of the participant that has
* @property {string} displayName - The displayName of the participant that has
* sent the request.
* @property {boolean} screenSharing - true if the SS is started for the local
* @property {boolean} screenSharing - True if the SS is started for the local
* participant and false if not.
*/

View File

@ -20,7 +20,7 @@ type Props = {
/**
* The flag which shows if the facial recognition is enabled, obtained from the redux store.
* if enabled facial expressions are shown.
* If enabled facial expressions are shown.
*/
_showFacialExpressions: boolean,

View File

@ -77,7 +77,7 @@ export function backgroundEnabled(backgroundEffectEnabled: boolean) {
*
* @returns {{
* type: VIRTUAL_BACKGROUND_TRACK_CHANGED
*}}.
* }}
*/
export function virtualBackgroundTrackChanged() {
return {