mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { Linking } from 'react-native';
|
||||
|
||||
// @ts-ignore
|
||||
import logger from './logger';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user