Debian Codegraph @

packages/babel-plugin-transform-classes/test/fixtures/regression/2694/output.js

raw
1 "use strict";
2
3 Object.defineProperty(exports, "__esModule", {
4 value: true
5 });
6 exports["default"] = void 0;
7 var _BaseFoo2 = babelHelpers.interopRequireDefault(require("./BaseFoo"));
8 var SubFoo = /*#__PURE__*/function (_BaseFoo) {
9 babelHelpers.inherits(SubFoo, _BaseFoo);
10 var _super = babelHelpers.createSuper(SubFoo);
11 function SubFoo() {
12 babelHelpers.classCallCheck(this, SubFoo);
13 return _super.apply(this, arguments);
14 }
15 babelHelpers.createClass(SubFoo, null, [{
16 key: "talk",
17 value: function talk() {
18 babelHelpers.get(babelHelpers.getPrototypeOf(SubFoo), "talk", this).call(this);
19 console.log('SubFoo.talk');
20 }
21 }]);
22 return SubFoo;
23 }(_BaseFoo2["default"]);
24 exports["default"] = SubFoo;