Generics with 'extends' for return types cause type check failure. #13993
Labels
Fixed
A PR has been merged for this issue
Needs Investigation
This issue needs a team member to investigate its status.
TypeScript Version: 2.2.0
Code
Expected behavior:
Type '() => {}' is not assignable to type 'M'. Type '{}' is not assignable to type 'I'.
Actual behavior:
The compilation is successful.
The text was updated successfully, but these errors were encountered: