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
type GenericGeneric<S> = <T extends S>(x: T) => T; type GenericNumber = <T extends number>(t: T) => T; type ExpectedTrue = GenericNumber extends GenericGeneric<infer _> ? true : false;
I expect the last type to be true but it's false
true
false
No response
it's false
should be `true
The text was updated successfully, but these errors were encountered:
The title is quite vague. The search terms and playground link are missing.
Looks like a duplicate of #41040
Sorry, something went wrong.
No branches or pull requests
🔎 Search Terms
I expect the last type to be
true
but it'sfalse
🕗 Version & Regression Information
⏯ Playground Link
No response
💻 Code
🙁 Actual behavior
it's
false
🙂 Expected behavior
should be `true
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: