Closed
Description
TypeScript Version: 3.6.4
Search Terms:
"Related Issues" feature of GitHub uses the title as search terms.
Code
class Base {
get foo() {
return 5
}
}
class Child extends Base {
foo = 10
}
new Child // runtime error!
Expected behavior:
Type error during compile
Actual behavior:
No error until runtime.
Playground Link:
Related Issues:
Might be duplicate of #13347, but not sure.