New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add Accessor alias description #14571
Conversation
JLHwung
commented
May 20, 2022
•
edited by gitpod-io
bot
edited by gitpod-io
bot
Q | A |
---|---|
Documentation PR Link | babel/website#2648 |
License | MIT |
@@ -176,6 +176,7 @@ function generateMapAliasToNodeTypes() { | |||
return result; | |||
} | |||
const aliasDescriptions = { | |||
Accessor: "A cover of ClassAccessorProperty.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Accessor
currently only covers ClassAccessorProperty. I believe it used to cover ClassAccessorProperty
and ClassPrivateAccessorProperty
but later we merged these two. We may consider remove it in Babel 8.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we should remove it in Babel 8.
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/52001/ |