Allow extending untranspiled classes (#8656)
This commit is contained in:
@@ -10,11 +10,13 @@ var Foo = /*#__PURE__*/function (_Bar) {
|
||||
|
||||
babelHelpers.inherits(Foo, _Bar);
|
||||
|
||||
var _super = babelHelpers.createSuper(Foo);
|
||||
|
||||
function Foo() {
|
||||
var _this;
|
||||
|
||||
babelHelpers.classCallCheck(this, Foo);
|
||||
_this = babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(Foo).call(this));
|
||||
_this = _super.call(this);
|
||||
_this.state = "test";
|
||||
return _this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user