Files
DeviceManager/node_modules/@swc/helpers/lib/_check_private_redeclaration.js

16 lines
425 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _checkPrivateRedeclaration;
}
});
function _checkPrivateRedeclaration(obj, privateCollection) {
if (privateCollection.has(obj)) {
throw new TypeError("Cannot initialize the same private elements twice on an object");
}
}