akveo / ngx-admin-dotnet-starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UserStore - Property "user" is used before its initialization

Tokkeri opened this issue · comments

export class UserStore {
private user: User = null;

protected userState$ = new BehaviorSubject(this.user);

angular 11/nebular 7 build gives error: UserStore - Property "user" is used before its initialization
previous versios gives only warning on build succees but on newer versions build faild on error.
I bought this code and it won't work!!!