fix(ts) fix mysterious linting errors

We have a rule that should apply here, but somehow it doesn't...
pull/12490/head jitsi-meet_8022
Saúl Ibarra Corretgé 3 years ago committed by Saúl Ibarra Corretgé
parent 7cd39b7983
commit edf5e1c094
  1. 8
      react/features/app/actions.native.ts
  2. 6
      react/features/base/environment/checkChromeExtensionsInstalled.native.ts
  3. 5
      react/features/base/tracks/actions.native.ts
  4. 2
      react/features/base/util/openURLInBrowser.native.ts

@ -162,14 +162,10 @@ export function appNavigate(uri?: string) {
* If we have a close page enabled, redirect to it without
* showing any other dialog.
*
* @param {Object} _options - Used to decide which particular close page to show
* or if close page is disabled, whether we should show the thankyou dialog.
* @param {boolean} options.showThankYou - Whether we should
* show thank you dialog.
* @param {boolean} options.feedbackSubmitted - Whether feedback was submitted.
* @param {Object} options - Ignored.
* @returns {Function}
*/
export function maybeRedirectToWelcomePage(_options: { feedbackSubmitted?: boolean; showThankYou?: boolean; } = {}) {
export function maybeRedirectToWelcomePage(options: any) { // eslint-disable-line @typescript-eslint/no-unused-vars
// Dummy.
}

@ -1,10 +1,12 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
/**
* Checks whether the chrome extensions defined in the config file are installed or not.
*
* @param {Object} _config - Objects containing info about the configured extensions.
* @param {Object} config - Objects containing info about the configured extensions.
*
* @returns {Promise[]}
*/
export default function checkChromeExtensionsInstalled(_config: any = {}) {
export default function checkChromeExtensionsInstalled(config: any = {}) {
return Promise.resolve([]);
}

@ -1,4 +1,5 @@
/* eslint-disable lines-around-comment */
import { IReduxState, IStore } from '../../app/types';
// @ts-ignore
import { setPictureInPictureEnabled } from '../../mobile/picture-in-picture/functions';
@ -11,6 +12,8 @@ import { getLocalVideoTrack, isLocalVideoTrackDesktop } from './functions';
export * from './actions.any';
/* eslint-disable @typescript-eslint/no-unused-vars */
/**
* Signals that the local participant is ending screensharing or beginning the screensharing flow.
*
@ -37,6 +40,8 @@ export function toggleScreensharing(enabled: boolean, _ignore1?: boolean, _ignor
};
}
/* eslint-enable @typescript-eslint/no-unused-vars */
/**
* Creates desktop track and replaces the local one.
*

@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import { Linking } from 'react-native';
import logger from './logger';

Loading…
Cancel
Save