Debian Codegraph @

packages/babel-plugin-proposal-class-properties/test/fixtures/regression/T7364/output.mjs

raw
1 class MyClass {
2 constructor() {
3 var _this = this;
4 this.myAsyncMethod = /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
5 console.log(_this);
6 });
7 }
8 }
9 (class MyClass2 {
10 constructor() {
11 var _this2 = this;
12 this.myAsyncMethod = /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
13 console.log(_this2);
14 });
15 }
16 });
17 export default class MyClass3 {
18 constructor() {
19 var _this3 = this;
20 this.myAsyncMethod = /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
21 console.log(_this3);
22 });
23 }
24 }