Bug Report
Current Behavior
Neither type declarations nor documentation indicate the presence of a decorators field on a ClassPrivateProperty node, while it is present in the AST.
Input Code
AST explorer
class Foo {
@Decorator
#prop = '';
}
Expected behavior/code
The decorators field should be present in both documentation and type declarations.
Babel Configuration (.babelrc, package.json, cli command)
Just needs private class fields and decorators enabled, as indicated by link above.
Environment
- Babel version(s): v7.4.0
- Node/npm version: Node 12.0.0, npm 6.9.0
- OS: Ubuntu 19.04
- Monorepo: no
- How you are using Babel: CLI