mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
ref(TS) Improve TS (#13167)
Fix some errors. Remove @ts-ignores Convert some files to TS Remove some eslint-disables
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
|
||||
import { Linking } from 'react-native';
|
||||
|
||||
import logger from './logger';
|
||||
|
||||
@@ -42,11 +42,11 @@ export function parseURLParams(
|
||||
}
|
||||
}
|
||||
|
||||
paramParts.forEach(part => {
|
||||
paramParts.forEach((part: string) => {
|
||||
const param = part.split('=');
|
||||
const key = param[0];
|
||||
|
||||
if (!key || key.split('.').some(k => blacklist.includes(k))) {
|
||||
if (!key || key.split('.').some((k: string) => blacklist.includes(k))) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -263,7 +263,6 @@ export function parseStandardURIString(str: string) {
|
||||
authority = authority.substring(userinfoEndIndex + 1);
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
obj.host = authority;
|
||||
|
||||
// port
|
||||
|
||||
Reference in New Issue
Block a user