I\'m having the following TypeScript class
export class Vehicule extends TrackableEntity {
vehiculeId: number;
constructor() {
super();
return s
that make sense, you are passing the local object (Vehicle
) to the parent class within constructor return super.proxify(this);
.
Keep in mind the local Vehicle
instance has not been instantiated yet (constructor block is not finished yet), so you cannot use this object in the mean time, you need to wait the constructor to done it's job.