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

[11.x] Use never type for methods that always throws #53643

Open
wants to merge 1 commit into
base: 11.x
Choose a base branch
from

Conversation

tamiroh
Copy link
Contributor

@tamiroh tamiroh commented Nov 24, 2024

Since a method that always throws never returns any value, this pull request proposes to use the more precise never type.

Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@tamiroh tamiroh marked this pull request as ready for review November 24, 2024 01:33
@tamiroh tamiroh changed the title Use never type for methods that always throws [11.x] Use never type for methods that always throws Nov 24, 2024
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.

1 participant