Unhelpful extra error that class prototype isn't assignable to superclass prototype #26138
Labels
Bug
A bug in TypeScript
Domain: Error Messages
The issue relates to error messaging
Fixed
A PR has been merged for this issue
Milestone
TypeScript Version: 3.1.0-dev.20180801
Code
Expected behavior:
One error:
Property 'n' in type 'B' is not assignable to the same property in base type 'A'.
Actual behavior:
Two errors:
We could just omit static-side errors if instance-side errors exist.
The text was updated successfully, but these errors were encountered: