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
Include flow comments in compiled output #17
Conversation
Well this can't be right… that diff definitely has some syntax errors. https://gist.github.com/zpao/29cc0a4bd03791d08cd1 I'll make this so that we run tests with this transform and catch things like that. |
And now it's works because @sebmck is awesome. |
Include flow comments in compiled output
This change causes dependent projects to suddenly have many false flow errors. A cursory investigation shows that 1) flow does not like the code generated by babel (e.g. |
What's the best move? Revert? |
Setting |
Cool, I'll try I might have found another issue:
...is being transpiled into...
The problem is For context, |
That'd be because the |
Great. I'll give I'll open an issue for the generic types on https://github.com/babel-plugins/babel-plugin-flow-comments. |
Opened babel-plugins/babel-plugin-flow-comments#15. |
This should make it such that we can properly run flow in projects consuming fbjs.
(Sorry for the package.json noise, npm3 sorts on writing)