packages/babel-plugin-proposal-decorators/test/fixtures/2021-12-getters--to-es2015/static-private/output.js
raw symbols SCIP| 1 | var _call_a, _initStatic; |
| 2 | const dec = () => {}; |
| 3 | class Foo { |
| 4 | static getA() { |
| 5 | return babelHelpers.classStaticPrivateFieldSpecGet(this, Foo, _a); |
| 6 | } |
| 7 | } |
| 8 | function _get_a() { |
| 9 | return _call_a(this); |
| 10 | } |
| 11 | var _a = { |
| 12 | get: _get_a, |
| 13 | set: void 0 |
| 14 | }; |
| 15 | (() => { |
| 16 | [_call_a, _initStatic] = babelHelpers.applyDecs(Foo, [[dec, 8, "a", function () { |
| 17 | return this.value; |
| 18 | }]], []); |
| 19 | _initStatic(Foo); |
| 20 | })(); |
| 21 | babelHelpers.defineProperty(Foo, "value", 1); |