@ -49,7 +49,7 @@ function checkBoxedPrimitive(value, prototypeValueOf) {
|
||||
try {
|
||||
prototypeValueOf(value);
|
||||
return true;
|
||||
} catch (e) {
|
||||
} catch (error: any) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@ -421,4 +421,4 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
||||
throw new Error(method + ' is not supported in userland');
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user