* 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/plugin-proposal-private-property-in-object
This plugin transforms checks for a private property in an object
See our website @babel/plugin-proposal-private-property-in-object for more information.
Install
Using npm:
npm install --save-dev @babel/plugin-proposal-private-property-in-object
or using yarn:
yarn add @babel/plugin-proposal-private-property-in-object --dev