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

Fix flow typings [requires TS3.6] #2160

Merged
merged 7 commits into from
Nov 7, 2019
Merged

Fix flow typings [requires TS3.6] #2160

merged 7 commits into from
Nov 7, 2019

Conversation

xaviergonz
Copy link
Contributor

@xaviergonz xaviergonz commented Oct 17, 2019

Fixes typings for flows (actually even improves them), but requires TS3.6 to use flows.

If you don't want to merge it now maybe just consider leaving it there for the future.

@coveralls
Copy link

coveralls commented Oct 17, 2019

Coverage Status

Coverage remained the same at 93.364% when pulling 02fd0bb on fix-flow-typings into 4d56bf6 on master.

@mweststrate
Copy link
Member

I think we could release this as minor pretty soon, once we didn't have any patches for a couple of weeks

@danielkcz danielkcz mentioned this pull request Oct 18, 2019
5 tasks
@xaviergonz
Copy link
Contributor Author

Also fixed async generators while at it

@xaviergonz
Copy link
Contributor Author

xaviergonz commented Nov 7, 2019

One question, there's a way to enforce TS typings so flow() has to always yield promises (Generator<Promise<any>, R, any>), would this be nice to have?

@mweststrate mweststrate merged commit 728ad70 into master Nov 7, 2019
@mweststrate
Copy link
Member

Published as 5.15.0

@danielkcz danielkcz deleted the fix-flow-typings branch November 7, 2019 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants