I understand that, in TypeScript, one can:
- Declare class properties from the constructor declaration by using parameter properties.
- Inherit from a base class, in which case, the derived class constructor must call the base class constructor.
Is it possible to combine these two behaviors? That is to say, is it possible to declare a base class which uses parameter properties, and then inherit from it in a derived class which also uses parameter properties? Does the derived class need to re-declare them, pass them into the superclass constructor call, etc.?
This is kinda confusing, and I can't figure out from the documentation whether this is intended to be possible, or -- if so -- how.
Thanks in advance if anyone has any insights into this.