Files
80fc33a72a Improve super.x output (#16374)
* 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]>
2024-07-23 11:37:07 +08:00

25 lines
629 B
JavaScript

var Foo = /*#__PURE__*/function (_Bar) {
"use strict";
function Foo() {
var _this;
babelHelpers.classCallCheck(this, Foo);
_this = babelHelpers.callSuper(this, Foo);
var X = /*#__PURE__*/function (_ref) {
function X() {
babelHelpers.classCallCheck(this, X);
}
return babelHelpers.createClass(X, [{
key: _ref,
value: function value() {}
}]);
}((() => {
var _Foo;
babelHelpers.superPropGet((_this, Foo), "method", _this, 3)([]);
})());
return _this;
}
babelHelpers.inherits(Foo, _Bar);
return babelHelpers.createClass(Foo);
}(Bar);