Files
Nicolò RibaudoandGitHub d266e9185a Move all runtime helpers to individual files (#16495)
* Move all runtime helpers to individual files

* Regenerate babel-runtime

* Update fixtures

* Make errors for bugs in helpers more helpful (and not "this.hub is undefined")

* Wrap Babel 7 helpers in !BABEL_8_BREAKING

* Skip failing decorators tests in Babel7/8

* Disable most CI

* Skip failing Babel 7 old class helpers test in Babel 8

* Use latest decorators version in metadata test

* Revert "Disable most CI"

This reverts commit b98b0dc6b7855b032fd55bbfb34a7c6798828c7a.
2024-05-16 15:32:28 +02:00

10 lines
423 B
JavaScript

function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
var _message = /*#__PURE__*/new WeakMap();
class _TypeError2 {
constructor() {
_classPrivateFieldInitSpec(this, _message, void 0);
}
}
export { _TypeError2 as TypeError };