Skip to content

Conversation

brettz9
Copy link
Collaborator

@brettz9 brettz9 commented Sep 28, 2025

feat(require-returns-check): add noNativeTypes option to assert async functions do not have native types as return types; fixes #1345

…sync functions do not have native types as return types; fixes gajus#1345
@brettz9 brettz9 force-pushed the require-returns-check-noNativeTypes branch from 7e7a1d4 to a81302e Compare September 30, 2025 18:04
@brettz9 brettz9 merged commit 9e92718 into gajus:main Oct 1, 2025
4 checks passed
Copy link

github-actions bot commented Oct 1, 2025

🎉 This PR is included in version 60.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@brettz9 brettz9 deleted the require-returns-check-noNativeTypes branch October 1, 2025 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Forbid non-promise types in @return on async functions
1 participant