You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class A {
public get foo(): number {
return 5
}
}
class B extends A {
public override get foo(): number {
return super.foo + 1
}
}
const b = new B()
console.log(b.foo);
Should work properly and output 6 (as it does in TS), but fails in TSTL.