babel/packages/babel-helper-create-class-features-plugin
Tan Li Hau d3fe22f0e1 destructuring private fields with array pattern / object patte… (#10017)
* destructuring private fields with array pattern / object pattern

* wip: new test cases

* destrucuring and rest for private properties

* test case for loose private-loose

* add transform-desturcturing for exec

* update test case

* remove getPrototypeOf imports from get and set

* wip: destructure super assignment

* throw "Destructuring to a super field is not supported yet."

* fix tests and fix assignment pattern

* remove CallExpression from AssignmentPattern
2019-07-15 01:00:20 +02:00
..
2019-07-04 14:52:17 +02:00

@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