We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const resolvers = { TagState: { async *subscribe(): AsyncIterable<TagState> { await ... yield {...} } } }
error Must annotate undefined return type flowtype/require-return-type
Annotating : void of course makes flow complain about the return type.
: void
"flowtype/require-return-type": [ 2, "always", { "annotateUndefined": "always", "excludeArrowFunctions": true, "excludeMatching":[ "constructor", "componentDidMount", "componentDidUpdate", "componentWillReceiveProps", "componentWillUnmount" ] } ],
eslint: 5.13.0 eslint-plugin-flowtype: 3.4.1
The text was updated successfully, but these errors were encountered:
fix(requireReturnType): fix async generator bug
26a4a0f
fix gajus#386
fix: fix async generator bug (fixes #387)
5adb546
fix #386
Thank you
Sorry, something went wrong.
🎉 This issue has been resolved in version 3.4.2 🎉
The release is available on:
Your semantic-release bot 📦🚀
Thanks! It was really easy to figure out where to fix this and how to write tests for it. Good job on making the code organized! 💯
Successfully merging a pull request may close this issue.
Annotating
: void
of course makes flow complain about the return type.eslint: 5.13.0
eslint-plugin-flowtype: 3.4.1
The text was updated successfully, but these errors were encountered: