Skip to content

Commit 0f68471

Browse files
Ensure class decorators can access decorated non-static members (#15332)
* copy applyDecs2203 to applyDecs2203R * Introduce applyDecs2203R * update test fixtures * make node < 16.11 happy * Update packages/babel-helpers/src/helpers/applyDecs2203.js * wrap applyDecs2203 impl into a factory * Update packages/babel-plugin-proposal-decorators/src/transformer-2022-03.ts Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
1 parent f9fbc25 commit 0f68471

110 files changed

Lines changed: 1465 additions & 543 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/babel-helpers/src/helpers-generated.ts

Lines changed: 5 additions & 1 deletion
Large diffs are not rendered by default.

packages/babel-helpers/src/helpers/applyDecs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* NOTE: This is an old version of the helper, used for 2021-12 decorators.
5-
* Updates should be done in applyDecs2203.js.
5+
* Updates should be done in applyDecs2203R.js.
66
*/
77

88
/**

0 commit comments

Comments
 (0)