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

Highlighting for Property Initializer Syntax (Stage-2)? #1185

Closed
wle8300 opened this issue Sep 12, 2017 · 1 comment
Closed

Highlighting for Property Initializer Syntax (Stage-2)? #1185

wle8300 opened this issue Sep 12, 2017 · 1 comment

Comments

@wle8300
Copy link

wle8300 commented Sep 12, 2017

Hi is there styling available for Property Syntax Initializers? These are class methods defined with an arrow function.

This is stage-2 ECMAScript feature.

We're trying to use it here: https://alligator.io/react/new-way-to-handle-events/
Screenshot

This is the Babel plugin for this feature: https://babeljs.io/docs/plugins/transform-class-properties/

@Golmote
Copy link
Contributor

Golmote commented Oct 10, 2017

@wle8300 The updated highlighting for functions should match those two properties.

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

No branches or pull requests

2 participants