-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
New library definitions approach #7750
Comments
We've discussed this in Discord and I think this sounds like a good approach. I am particularly interested in the
The necessary changes to Flow itself are:
|
I know this is an old PR, but what are the implications of this for a pnp system (e.g. yarn v2)? Since it doesn't use |
If something like this does move forward, I would expect it to be possible for the We still aren't planning on adding specific support for PnP in the foreseeable future, and this particular proposal doesn't have anybody working on it, either. But I don't think this would make it substantially harder to use PnP. |
Proposal
Support
.js.flow
files as new library definition formatMain Proposal
https://github.com/goodmind/flow-new-libdef-approach/
Alternative? Not sure about multiple files then
Enable
@providesModule
for select directories with section (doesn't matter which resolver is choosennode
orhaste
)Support
@scoped/package
for@providesModule
Use case
flow-typed migration to NPM
The text was updated successfully, but these errors were encountered: