Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only one returntype (object) when subscribing to isAuthenticated and userdata to avoid confusion. #1164

Closed
FabianGosebrink opened this issue Jul 1, 2021 · 0 comments

Comments

@FabianGosebrink
Copy link
Collaborator

get userData$(): Observable<ConfigUserDataResult[] | any> {
    return this.userService.userData$;
  }

  get isAuthenticated$(): Observable<ConfigAuthenticatedResult[] | boolean> {
    return this.authStateService.authenticated$;
  }

turns to

get userData$(): Observable<ConfigUserDataResult[]> {
    return this.userService.userData$;
  }

  get isAuthenticated$(): Observable<ConfigAuthenticatedResult[]> {
    return this.authStateService.authenticated$;
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants