Inconsistent behavior a class not being readonly if it is inside a module #16579
Labels
Won't Fix
The severity and priority of this issue do not warrant the time or complexity needed to fix it
Milestone
TypeScript Version: 2.3.4
Code
Expected behavior:
Either both of the last two lines to report an error, or none of them.
Actual behavior:
It is only an error to replace a class, if it is not inside a module.
The text was updated successfully, but these errors were encountered: