-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
If call doesn’t resolve to an overload signature, issue a better error when the implementation would work #25488
Labels
Duplicate
An existing issue was already created
Comments
DanielRosenwasser
added
Bug
A bug in TypeScript
Domain: Error Messages
The issue relates to error messaging
labels
Jul 6, 2018
9 tasks
sandersn
changed the title
Check if implementation signature is valid when overloads aren't
If call doesn’t resolve to an overload signature, issue a better error when the implementation would resolve
Jul 9, 2018
sandersn
changed the title
If call doesn’t resolve to an overload signature, issue a better error when the implementation would resolve
If call doesn’t resolve to an overload signature, issue a better error when the implementation would work
Jul 9, 2018
I'm worried this will be misleading in a lot of cases |
I agree, but we should run it on user tests and the RWC and see what it looks like. |
11 tasks
Turns out this is a duplicate of #4797. Two Dans can't be wrong. |
DanielRosenwasser
added
Duplicate
An existing issue was already created
and removed
Bug
A bug in TypeScript
Domain: Error Messages
The issue relates to error messaging
labels
Feb 21, 2019
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here we provide an error message like
I just spoke to three engineers who had no indication of what was actually going wrong. We should
The text was updated successfully, but these errors were encountered: