A trivial generic interface extending a generic type handles assignability differently than the base type #41370
Labels
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
TypeScript Version: 4.0.5, 4.1.0-beta, 4.1.0-dev.20201102
Search Terms: generic interface assignability
Code
Expected behavior:
Test0.Assertions
andTest1.Assertions
should both resolve with no errors.Actual behavior: When
Rebox
is an interface (inTest1
),Rebox<B>
is not assignable toRebox<A>
.Playground Link
Related Issues: N/A
The text was updated successfully, but these errors were encountered: