ref: TS Improvements (#12358)

Remove unnecessary ts-ignores
Remove unnecessary eslint-disable
Fix type errors
Change Dispatch type to IStore['dispatch']
This commit is contained in:
Robert Pintilii
2022-10-11 13:47:54 +03:00
committed by GitHub
parent 6365b699c1
commit 6c3206e4d4
126 changed files with 216 additions and 437 deletions

View File

@@ -84,19 +84,14 @@ export function getBaseUrl(w: Window = window) {
* NOTE: After React-ifying everything this should be the only global.
*/
export function getJitsiMeetGlobalNS() {
// @ts-ignore
if (!window.JitsiMeetJS) {
// @ts-ignore
window.JitsiMeetJS = {};
}
// @ts-ignore
if (!window.JitsiMeetJS.app) {
// @ts-ignore
window.JitsiMeetJS.app = {};
}
// @ts-ignore
return window.JitsiMeetJS.app;
}

View File

@@ -1,6 +1,5 @@
import { Linking } from 'react-native';
// @ts-ignore
import logger from './logger';
/**