UNPKG

@babel/helpers

Version:

Collection of helper functions used by Babel transforms.

14 lines (11 loc) 376 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = _checkPrivateRedeclaration; function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } } //# sourceMappingURL=checkPrivateRedeclaration.js.map