Files

25 lines
654 B
JavaScript

class MyClass {
constructor() {
var _this = this;
babelHelpers.defineProperty(this, "myAsyncMethod", /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
console.log(_this);
}));
}
}
(class MyClass2 {
constructor() {
var _this2 = this;
babelHelpers.defineProperty(this, "myAsyncMethod", /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
console.log(_this2);
}));
}
});
export default class MyClass3 {
constructor() {
var _this3 = this;
babelHelpers.defineProperty(this, "myAsyncMethod", /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
console.log(_this3);
}));
}
}