activated typescript strict mode

This commit is contained in:
2021-05-22 15:30:04 +02:00
parent a195fafa6b
commit cb2c028ca4
76 changed files with 511 additions and 296 deletions

View File

@@ -5,11 +5,15 @@ import {UserService} from './user.service';
selector: '[appOwner]',
})
export class OwnerDirective implements OnInit {
private currentUserId: string;
private currentUserId: string | null = null;
private iAppOwner: string | null = null;
private iAppOwner: string;
public constructor(private element: ElementRef, private templateRef: TemplateRef<unknown>, private viewContainer: ViewContainerRef, private userService: UserService) {}
public constructor(
private element: ElementRef,
private templateRef: TemplateRef<unknown>,
private viewContainer: ViewContainerRef,
private userService: UserService
) {}
@Input()
public set appOwner(value: string) {