Debian Codegraph @

packages/babel-plugin-transform-classes/test/fixtures/assumption-superIsCallableConstructor/super-class-this-usage/output.js

raw
1 var Test = /*#__PURE__*/function (_Foo) {
2 "use strict";
3
4 babelHelpers.inherits(Test, _Foo);
5 function Test() {
6 var _this;
7 babelHelpers.classCallCheck(this, Test);
8 _this = _Foo.call(this) || this;
9 babelHelpers.assertThisInitialized(_this);
10 _this.prop = 1;
11 return _this;
12 }
13 return babelHelpers.createClass(Test);
14 }(Foo);