1

Closed

Improve error reporting when call overload can't be selected

description

Playing around and I noticed that the error message in this case was a bit strange.

Image

Is there a way that it could report something more like
Cannot find an overload that accepts {type being passed}. Available overloads are {....give some options...}
Thoughts?
Closed Jul 28 at 11:18 PM by jonturner
As part of our move to GitHub, we're closing our CodePlex suggestions and asking that people move them to the GitHub issue tracker for further discussion. Some feature requests may already be active on GitHub, so please make sure to look for an existing issue before filing a new one.

You can find our GitHub issue tracker here:
https://github.com/microsoft/typeScript/issues

comments