Closed
Description
Code
class Foo extends Foo {
bar(): void {}
}
Strangely if you omit the void
return type like this
class Foo extends Foo {
bar() {}
}
only the AS playground enters an infinite loop while the main branch just exits with a parse error
ERROR TS1110: Type expected.
bar() {}
^
in test.ts(2,8)