Skip to content
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

Private fields in decorated classes are not supported yet #9973

pnewell opened this issue May 13, 2019 · 2 comments


None yet
3 participants
Copy link

commented May 13, 2019

Are there plans to support private fields in decorated classes? (or is there a plugin for this). I can't seem to find much info on the issue:

SyntaxError: /Users/paulnewell/Development/my-app/src/components/my-app.js: Private fields in decorated classes are not supported yet.
  33 |   @property({type: String}) appTitle = '';
  34 | 
> 35 |   @property({type: String}) #page = '';
     |   ^
  36 | 
  37 |   @property({type: Boolean}) #snackbarOpened = false;

This comment has been minimized.

Copy link

commented May 13, 2019

Hey @pnewell! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
that typically always has someone willing to help. You can sign-up here
for an invite.


This comment has been minimized.

Copy link

commented May 13, 2019

Currently not. We will definetly implement them (I'm currently trying to fully understand the new proposal), but it will take some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.