-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Does not catch any
type
#82
Comments
In the mean time you can use |
I believe I do a check to see if the generic type isn't declared too wide, for example expectType<any>(true);
//=> Parameter type `any` is declared too wide for argument type `true` But I don't think I do it the other way around 🤔 . |
@fregante @sindresorhus @papb I've tried to reproduce this issue in the latest version of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Similarly to #78,
expectType
doesn't seem to catch…any
All of this passes:
The text was updated successfully, but these errors were encountered: