mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
ref(TS) Convert some base features to TS (#12138)
This commit is contained in:
@@ -24,7 +24,7 @@ const blacklist = [ '__proto__', 'constructor', 'prototype' ];
|
||||
export function parseURLParams(
|
||||
url: URL | string,
|
||||
dontParse = false,
|
||||
source = 'hash'): Object {
|
||||
source = 'hash') {
|
||||
if (typeof url === 'string') {
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
url = new URL(url);
|
||||
|
||||
Reference in New Issue
Block a user