mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +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
602 B
JavaScript
27 lines
602 B
JavaScript
var A = /*#__PURE__*/function () {
|
|
"use strict";
|
|
|
|
function A() {
|
|
babelHelpers.classCallCheck(this, A);
|
|
}
|
|
return babelHelpers.createClass(A, [{
|
|
key: "foo",
|
|
value: function foo() {
|
|
return "bar";
|
|
}
|
|
}]);
|
|
}();
|
|
var B = /*#__PURE__*/function (_A) {
|
|
"use strict";
|
|
|
|
function B(...args) {
|
|
var _this;
|
|
babelHelpers.classCallCheck(this, B);
|
|
_this = babelHelpers.callSuper(this, B, [...args]);
|
|
_this.foo = babelHelpers.superPropGet((_this, B), "foo", _this, 3)([]);
|
|
return _this;
|
|
}
|
|
babelHelpers.inherits(B, _A);
|
|
return babelHelpers.createClass(B);
|
|
}(A);
|