packages/babel-plugin-proposal-decorators/test/fixtures/legacy-regression/8559/output.js
raw symbols SCIP| 1 | "use strict"; |
| 2 | |
| 3 | Object.defineProperty(exports, "__esModule", { |
| 4 | value: true |
| 5 | }); |
| 6 | exports.default = wrap; |
| 7 | var _coreDecorators = require("core-decorators"); |
| 8 | function wrap() { |
| 9 | return function () { |
| 10 | var _class; |
| 11 | let Foo = (_class = class Foo { |
| 12 | method() {} |
| 13 | }, (babelHelpers.applyDecoratedDescriptor(_class.prototype, "method", [_coreDecorators.autobind], Object.getOwnPropertyDescriptor(_class.prototype, "method"), _class.prototype)), _class); |
| 14 | return Foo; |
| 15 | }; |
| 16 | } |