packages/babel-helper-create-class-features-plugin/test/fixtures/plugin-proposal-decorators/2018-12-ignore-abstract-methods/output.js
raw| 1 | function decorate(value) { |
| 2 | return function (target, propertyKey, descriptor) {}; |
| 3 | } |
| 4 | let A = babelHelpers.decorate(null, function (_initialize) { |
| 5 | "use strict"; |
| 6 | |
| 7 | class A { |
| 8 | constructor() { |
| 9 | _initialize(this); |
| 10 | } |
| 11 | } |
| 12 | return { |
| 13 | F: A, |
| 14 | d: [{ |
| 15 | kind: "field", |
| 16 | decorators: [decorate(false)], |
| 17 | key: "decoratedMember", |
| 18 | value: void 0 |
| 19 | }] |
| 20 | }; |
| 21 | }); |
| 22 | class B extends A { |
| 23 | constructor() { |
| 24 | super(); |
| 25 | } |
| 26 | myMethod() {} |
| 27 | } |
| 28 | const b = new B(); |