Javascript – How to use fallback services in abstract class of angular-typescript project
Im working on typescript-angular project, where i have created a base class as follow: export abstract class MyClass { constructor(private toastService?: ToastService) {} ... } I have extended MyClass in another class as bellow: export class AcademyDraftListService extends AssessmentsDataService{ constructor()…