activated typescript strict mode
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user