This commit is contained in:
Mrhongxing committed 2026-11-12 02:48:46 +08:00
1 parent d1ee8edbbd
commit 7733a44362
429 files changed
+75840 -94

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
'use strict';
var $TypeError = require('es-errors/type');
/** @type {import('./RequireObjectCoercible')} */
module.exports = function RequireObjectCoercible(value) {
if (value == null) {
throw new $TypeError((arguments.length > 0 && arguments[1]) || ('Cannot call method on ' + value));
}
return value;
};