Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support named evaluation for decorated anonymous class exp (#16148)
* cleanup * refactor: decouple needsDeclaraionForClassBinding from replaceClassWithVar * avoid redundant node clone * refactor: refactor variable declarator named evaluation to visitor factory * handle other named evaluation cases * Add test cases * Update test fixtures * update properties test fixtures * allow literals in keys of transpiled accessors * Update packages/babel-plugin-proposal-decorators/src/transformer-2023-05.ts Co-authored-by: Nicol貌 Ribaudo <hello@nicr.dev> * address review comments --------- Co-authored-by: Nicol貌 Ribaudo <hello@nicr.dev>
- Loading branch information