packages/babel-plugin-proposal-class-properties/test/fixtures/public/derived/output.js
raw| 1 | var Foo = /*#__PURE__*/function (_Bar) { |
| 2 | "use strict"; |
| 3 | |
| 4 | babelHelpers.inherits(Foo, _Bar); |
| 5 | var _super = babelHelpers.createSuper(Foo); |
| 6 | function Foo(...args) { |
| 7 | var _this; |
| 8 | babelHelpers.classCallCheck(this, Foo); |
| 9 | _this = _super.call(this, ...args); |
| 10 | babelHelpers.defineProperty(babelHelpers.assertThisInitialized(_this), "bar", "foo"); |
| 11 | return _this; |
| 12 | } |
| 13 | return babelHelpers.createClass(Foo); |
| 14 | }(Bar); |