I tried to extend a class in a class that will be a dialog in Angular. My class is something like this:
export class DocDialogComponent extends DocComponent{}
I intend to do it in order to use a method inside of DocComponent in DocDialogComponent, but when I run it, it says:
errors-handler.ts:26 Error: Uncaught (in promise): ReferenceError: Cannot access 'DocComponent' before initialization ReferenceError: Cannot access 'DocComponent' before initialization
How can I solve it?