fix #9189 Obviously this code is intended to throw an error if someone tries to reference a class before it's defined, like: ```js class Foo { someField = Foo; } ``` But there's no problem with referencing the class in a type annotation before it's defined, and this is often necessary for tree structures: ```js class Foo { [someSymbol]: Foo; } ```
@babel/helper-replace-supers
Helper function to replace supers
See our website @babel/helper-replace-supers for more information.
Install
Using npm:
npm install --save-dev @babel/helper-replace-supers
or using yarn:
yarn add @babel/helper-replace-supers --dev