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