* fix: fix static private field shadowed by local variable currently throw an error, maybe we could generate correct code fix #12960 * feat: rename local variable and add test cases * feat: add unshadow to privateIn visitor also add test cases * test: add reference to shadowed variable * refactor: apply suggested changes simplify logic and add comments
@babel/helper-create-class-features-plugin
Compile class public and private fields, private methods and decorators to ES6
See our website @babel/helper-create-class-features-plugin for more information.
Install
Using npm:
npm install --save-dev @babel/helper-create-class-features-plugin
or using yarn:
yarn add @babel/helper-create-class-features-plugin --dev