* fix: ensure (a?.b)() has proper this * let test be more restrictive * fix: transformed member call should preserve computed * chore: revamp test files * refactor: simplify * fix: unwrap parthenthesizedExpression * add loose test cases * add `(a?.#b)()` support * add with-transform test cases * Update packages/babel-plugin-proposal-optional-chaining/src/index.js Co-authored-by: Justin Ridgewell <justin@ridgewell.name> * address review comments * update test fixtures Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
@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