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

Generate Flow annotations a-la TypeScript #671

Closed
chenglou opened this issue Aug 23, 2016 · 10 comments
Closed

Generate Flow annotations a-la TypeScript #671

chenglou opened this issue Aug 23, 2016 · 10 comments
Labels
stale Old issues that went stale

Comments

@chenglou
Copy link
Member

That'd be awesome for an existing flow codebase (lots of react codebases). We've discussed this before; formalizing this as an issue.

@bwestergard
Copy link
Contributor

This would be glorious.

@bobzhang
Copy link
Member

anyone interested in working on this? I would like to help

@pvolok
Copy link

pvolok commented Sep 17, 2016

@bobzhang I started exploring this a couple of weeks ago. But had almost no time. No it's getting better I hope. I will create a WIP PR today with what I have.

@chenglou
Copy link
Member Author

No time for this but I'll put this out here: https://github.com/chenglou/jeason/blob/master/README_DONT_TWEET_ABOUT_THIS_YET.md

This takes in the Flow JS AST and outputs reason code. I don't do anything with type info yet.

@bwestergard
Copy link
Contributor

Where does this project stand? @bobzhang @pvolok @chenglou

@brentvatne
Copy link

I would love to see this too -- if BuckleScript could generate both Flow and TypeScript typedefs from a Reason codebase it would be an incredibly compelling argument for why people should write their libraries with Reason.

@bwestergard
Copy link
Contributor

Any news here?

@skovhus
Copy link

skovhus commented Jul 4, 2018

if BuckleScript could generate both Flow and TypeScript typedefs from a Reason codebase it would be an incredibly compelling argument for why people should write their libraries with Reason.

Yes, would really love to see this. Anything we can do to help? @chenglou

@yawaramin
Copy link
Contributor

I think this can be closed now thanks to genType?

@stale
Copy link

stale bot commented Jul 11, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Old issues that went stale label Jul 11, 2021
@stale stale bot closed this as completed Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Old issues that went stale
Projects
None yet
Development

No branches or pull requests

7 participants