Files

13 lines
545 B
JavaScript

function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
var _message = /*#__PURE__*/new WeakMap();
class _TypeError {
constructor() {
_classPrivateFieldInitSpec(this, _message, {
writable: true,
value: void 0
});
}
}
export { _TypeError as TypeError };