mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
ref(eslint) Use new TypeScript ESlint config (#12143)
Use new TS config from @jitsi/eslint Fix all lint errors
This commit is contained in:
@@ -85,7 +85,7 @@ export function getBaseUrl(w: Window = window) {
|
||||
const doc = w.document;
|
||||
const base = doc.querySelector('base');
|
||||
|
||||
if (base && base.href) {
|
||||
if (base?.href) {
|
||||
return base.href;
|
||||
}
|
||||
|
||||
@@ -127,7 +127,7 @@ export function getJitsiMeetGlobalNS() {
|
||||
*/
|
||||
export function reportError(e: Error, msg = '') {
|
||||
console.error(msg, e);
|
||||
window.onerror && window.onerror(msg, undefined, undefined, undefined, e);
|
||||
window.onerror?.(msg, undefined, undefined, undefined, e);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user