Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

What about class property transform #3

Open
xaviervia opened this issue Jun 22, 2016 · 3 comments
Open

What about class property transform #3

xaviervia opened this issue Jun 22, 2016 · 3 comments

Comments

@xaviervia
Copy link
Member

While trying out adding the flow type transform I noticed that class properties are not working. I tried out adding it as well and it works without problems. Any reason not to?

https://babeljs.io/docs/plugins/transform-class-properties/

@pirelenito
Copy link
Member

@pirelenito
Copy link
Member

Ok, stupid answer... sorry. Different thing! 🙈

Do you know how far this is as becoming a spec?

@xaviervia
Copy link
Member Author

Nope. I don't know how to know. The proposal comes from here, which seems pretty unofficial: https://github.com/jeffmo/es-class-fields-and-static-properties

We can keep the thread open, even if class properties is not added flowtype will work, just that flowtype for classes will not. Not a big deal in my personal opinion since we are moving away from classes anyway, but it means support will be incomplete.

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

No branches or pull requests

2 participants