fix(ts,build) fix TS error in web build
This commit is contained in:
parent
9c6119606f
commit
eee096e0c0
|
@ -93,8 +93,8 @@ function _setErrorHandlers() {
|
||||||
if (JitsiMeetJS.getGlobalOnErrorHandler) {
|
if (JitsiMeetJS.getGlobalOnErrorHandler) {
|
||||||
const oldOnErrorHandler = window.onerror;
|
const oldOnErrorHandler = window.onerror;
|
||||||
|
|
||||||
// eslint-disable-next-line max-params
|
// @ts-ignore
|
||||||
window.onerror = (message, source, lineno, colno, error) => {
|
window.onerror = (message, source, lineno, colno, error) => { // eslint-disable-line max-params
|
||||||
const errMsg = message || error?.message;
|
const errMsg = message || error?.message;
|
||||||
const stack = error?.stack;
|
const stack = error?.stack;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue