mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* 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.
10 lines
729 B
JavaScript
10 lines
729 B
JavaScript
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
class _TypeError2 {
|
|
constructor() {
|
|
_defineProperty(this, "message", void 0);
|
|
}
|
|
}
|
|
export { _TypeError2 as TypeError };
|