akveo / ngx-admin-dotnet-starter

MIT License
179 stars 93 forks source link

UserStore - Property "user" is used before its initialization #36

Open Tokkeri opened 1 year ago

Tokkeri commented 1 year ago

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!!!