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
fix(ts) fix mysterious linting errors
Saúl Ibarra Corretgéedf5e1c09421
diff --git a/react/features/app/actions.native.ts b/react/features/app/actions.native.tsindex 1f861618bc..71cc18c6fa 100644--- a/react/features/app/actions.native.ts+++ b/react/features/app/actions.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.}diff --git a/react/features/base/environment/checkChromeExtensionsInstalled.native.ts b/react/features/base/environment/checkChromeExtensionsInstalled.native.tsindex 159dac5ec0..906fb56d01 100644--- a/react/features/base/environment/checkChromeExtensionsInstalled.native.ts+++ b/react/features/base/environment/checkChromeExtensionsInstalled.native.ts@@ -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([]);}diff --git a/react/features/base/tracks/actions.native.ts b/react/features/base/tracks/actions.native.tsindex e1fb4f545b..2bba503b0c 100644--- a/react/features/base/tracks/actions.native.ts+++ b/react/features/base/tracks/actions.native.ts@@ -1,4 +1,5 @@/* eslint-disable lines-around-comment */+import { IReduxState, IStore } from '../../app/types';// @ts-ignoreimport { 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.*diff --git a/react/features/base/util/openURLInBrowser.native.ts b/react/features/base/util/openURLInBrowser.native.tsindex d7776e2e83..da1e0b274c 100644--- a/react/features/base/util/openURLInBrowser.native.ts+++ b/react/features/base/util/openURLInBrowser.native.ts@@ -1,3 +1,5 @@+/* eslint-disable @typescript-eslint/no-unused-vars */+import { Linking } from 'react-native';import logger from './logger';