Wrong callback type inferred with multiple overloads #21525
Labels
Design Limitation
Constraints of the existing architecture prevent this from being fixed
Fix Available
A PR has been opened for this issue
TypeScript Version: 2.8.0-dev.20180131
Search Terms: callback type inference, incorrect overload
Code
Expected behavior: Code should compile successfully
Actual behavior: Compile error:
Related Issues: DefinitelyTyped/DefinitelyTyped#23317
Notes:
strictFunctionTypes
does not affect the resultThe text was updated successfully, but these errors were encountered: