Hey there, I am currently dealing with a Model Class Question and a ModelClass TrueFalseQuestion. Here are the fields:
question.model.ts
export class Question {
answerId: number;
questionTitle: string;
questionDescription: string;
}
truefalsequestion.model.ts
export class TrueFalseQuestion {
answer: boolean;
}
I am looking to inherit members from the Question model to the TrueFalseQuestion model. Any tips on how can I do that?