TS should show an error when defining only a getter in subclass but assigning in super class #36346
Labels
Bug
A bug in TypeScript
VS Code Priority
Critical issues that VS Code needs fixed in the current TypeScript milestone
Milestone
TypeScript Version: 3.7.2
Code
Expected behavior:
I would like to see a compile error.
Actual behavior:
There is no compile error. But the code will run with this error:
Playground Link: <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior Playground Link
Related Issues:
The text was updated successfully, but these errors were encountered: