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
Given that we are special casing never now, could we consider handling this too:
never
declare const nope: never; declare const anArray: any[]; declare const anObject: { [key: string]: any }; declare function aMethod(arg: string): string; anArray[nope]; // $ExpectError anObject[nope]; // $ExpectError aMethod(nope); // $ExpectError const hello = "hello " + nope; // $ExpectError const meaningOfLife = 42 + nope; // $ExpectError
The text was updated successfully, but these errors were encountered:
Given #22964
Sorry, something went wrong.
If you were to add these cases would never stop being bottom and start becoming some ad-hoc type?
This issue has been marked 'Working as Intended' and has seen no recent activity. It has been automatically closed for house-keeping purposes.
No branches or pull requests
Given that we are special casing
never
now, could we consider handling this too:The text was updated successfully, but these errors were encountered: