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

Disallow functions and variables inside of a @class #166

Open
iccir opened this issue Jul 5, 2020 · 0 comments
Open

Disallow functions and variables inside of a @class #166

iccir opened this issue Jul 5, 2020 · 0 comments
Milestone

Comments

@iccir
Copy link
Member

iccir commented Jul 5, 2020

Right now JavaScript functions and variables can be declared inside of a@class block. This prevents us from outputting ES6 classes (#165).

Moving forward, only comments, method declarations, @property declarations, and the @observe directory should be allowed inside of @class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant