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 libdefs #3720

Open
mischnic opened this issue Oct 31, 2019 · 0 comments
Open

Generate flow libdefs #3720

mischnic opened this issue Oct 31, 2019 · 0 comments

Comments

@mischnic
Copy link
Member

🙋 feature request

Generating a Typescript definition file is already supported. We should do something similar for Flow:
If target.isLibrary == true and the JS entrypoint contains a // @flow comment, emit a corresponding [dist/entry.js].flow file that contains the exports of [src/entry.js].

Related?: flow gen-flow-files
Related: #3212

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

1 participant