Extending Map
with wrong number of type arguments shows no error
#27951
Labels
Bug
A bug in TypeScript
Fix Available
A PR has been opened for this issue
Fixed
A PR has been merged for this issue
TypeScript Version: 3.2.0-dev.20181017
Code
Expected behavior:
Error:
No base constructor has the specified number of type arguments.
Actual behavior:
No error.
Issue was introduced by #25374. The issues it fixed, #23551 and #25362, seem to work fine even if I revert the change. CC @sandersn to confirm that JS class augmentation has been fixed and #25374 can be reverted.
The text was updated successfully, but these errors were encountered: