babel/packages/babel-helper-create-class-features-plugin
Zen cba64f9a09
Correctly access shadowed class binding in super.* (#12544)
* rename own binding inside methods if it collides with class ref. fix #11994

* fix name collisions in constructor

* do fix name collisions in constructor

* move logic in ReplaceSupers

* fix tests of helper-create-class-features-plugin

* remove replaceSupers in pushConstructor

* use environmentVisitor

* skip classLike nodes

* fix super ref in computed key
2021-01-12 02:31:06 +01: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