Nicolò Ribaudo d21e2217d5
Skip newlines around inline #__PURE__ annotations (#11133)
* Skip newlines around #__PURE__ annotations

* Update tests
2020-02-13 19:16:33 +01:00

33 lines
569 B
JavaScript

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