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
TypeScript Version: 3.3.3333
Search Terms:
Code
Actual behavior:
// make_nerver : () => nerver make_nerver() // Not all code paths return a value. return make_nerver() // OK
Expected behavior:
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered:
Kind of vague but I assume your function is supposed to return something but you made it return never and it compiled.
never
But you feel like never is not of type something, so it should get an error?
Sorry, something went wrong.
Control flow analysis doesn't look at every call in the program because it would be prohibitively expensive. See a similar issue at #8655.
also in the future please post a full reproducible example of some code that exhibits the issue.
No branches or pull requests
TypeScript Version: 3.3.3333
Search Terms:
Code
Actual behavior:
Expected behavior:
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: