это не помогает, он ругается на body component тогда. И если перед content ним ставить то тогда
Type 'TemplateRef<any> | null | undefined' is not assignable to type 'TemplateRef<any> | null'.
Type 'undefined' is not assignable to type 'TemplateRef<any> | null'.
13 <ng-container *ngTemplateOutlet="activeTab?.bodyComponent?.bodyContent"></ng-container>