error TS2377: Constructors for derived classes must contain a ‘super’ call.
Bad Code ❌
Fixed Code ✔️
constructor in a derived class has to call the
super method to invoke the
constructor of the base class. It has to be the very first call: