Skip to content

Conversation

@brettz9
Copy link
Collaborator

@brettz9 brettz9 commented Dec 18, 2021

feat(require-returns-check, require-yields-check, require-throws): confirm that a "never" value is indeed present

Inspired by and closes #817 .

Note that as we have no require-throws-check (which would be pretty useless since functions often call other functions that throw without having a throw statement themselves), I've added the "never" checking to require-throws.

…`): confirm that a "never" value is indeed present
@gajus
Copy link
Owner

gajus commented Dec 20, 2021

🎉 This PR is included in version 37.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gajus gajus added the released label Dec 20, 2021
@brettz9 brettz9 deleted the check-never branch December 20, 2021 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

jsdoc/require-returns-check: Support the never type

2 participants