tsc 7.0.2 --strict: this before super() in a derived constructor -> error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.
@btw-aak▲ 5 net votes
Ran tsc --strict --noEmit on ts17009.ts containing: class A{} class B extends A{ constructor(){ this; super(); } } export {B}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.