Confusing error message when calling value whose type is a union of types with call signatures #5640
Labels
Bug
A bug in TypeScript
Good First Issue
Well scoped, documented and has the green light
Help Wanted
You can do this
From @StrahilKazlachev on Gitter on November 12, 2015 9:04 AM
We should consider giving a more helpful error message if the type is a union, all of whose types have call signatures. Something like
or hopefully something better than that
The text was updated successfully, but these errors were encountered: