mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* clean * improve * tests * fix lint * old helpers * add fail test * fix * Update packages/babel-helpers/src/helpers/superPropGet.ts Co-authored-by: Nicolò Ribaudo <[email protected]> * review * fix lint * minVersion --------- Co-authored-by: Nicolò Ribaudo <[email protected]>
27 lines
900 B
JavaScript
27 lines
900 B
JavaScript
var Test = /*#__PURE__*/babelHelpers.createClass(function Test() {
|
|
"use strict";
|
|
|
|
var _Other;
|
|
babelHelpers.classCallCheck(this, Test);
|
|
var Other = /*#__PURE__*/function (_Test) {
|
|
function Other() {
|
|
var _this;
|
|
babelHelpers.classCallCheck(this, Other);
|
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
args[_key] = arguments[_key];
|
|
}
|
|
_this = babelHelpers.callSuper(this, Other, [].concat(args));
|
|
babelHelpers.defineProperty(_this, "a", function () {
|
|
return babelHelpers.superPropGet((_this, Other), "test", _this, 1);
|
|
});
|
|
return _this;
|
|
}
|
|
babelHelpers.inherits(Other, _Test);
|
|
return babelHelpers.createClass(Other);
|
|
}(Test);
|
|
_Other = Other;
|
|
babelHelpers.defineProperty(Other, "a", function () {
|
|
return babelHelpers.superPropGet(_Other, "test", _Other);
|
|
});
|
|
});
|