* Save full descriptor instead of only value for private fields. Decorators can make private fields non-writable, so we need to store this information somewhere. The descriptor can also be used to implement private accessors.
28 lines
589 B
JavaScript
28 lines
589 B
JavaScript
var Child =
|
|
/*#__PURE__*/
|
|
function (_Parent) {
|
|
"use strict";
|
|
|
|
babelHelpers.inherits(Child, _Parent);
|
|
|
|
function Child() {
|
|
var _this;
|
|
|
|
babelHelpers.classCallCheck(this, Child);
|
|
_this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Child).call(this));
|
|
|
|
_scopedFunctionWithThis.set(babelHelpers.assertThisInitialized(babelHelpers.assertThisInitialized(_this)), {
|
|
writable: true,
|
|
value: () => {
|
|
_this.name = {};
|
|
}
|
|
});
|
|
|
|
return _this;
|
|
}
|
|
|
|
return Child;
|
|
}(Parent);
|
|
|
|
var _scopedFunctionWithThis = new WeakMap();
|