Skip to content

Commit

Permalink
pr
Browse files Browse the repository at this point in the history
  • Loading branch information
doregg committed Mar 13, 2024
1 parent 16fa3a0 commit 975db53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion projects/example/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Router } from '@angular/router';
import { FronteggAppService, FronteggAuthService } from '@frontegg/angular';
import { Subscription } from 'rxjs';
import { ROUTE_PATHS } from './links';
import { User } from '@frontegg/redux-store';

@Component({
selector: 'app-root',
Expand All @@ -15,7 +16,7 @@ export class AppComponent implements OnInit, OnDestroy {
isAuthenticatedSubscription: Subscription;
userSubscription?: Subscription;
authenticated = false;
user?: any;
user?: User;
ROUTE_PATHS = ROUTE_PATHS;

constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Component, NgZone, OnDestroy, OnInit } from '@angular/core';
import { FronteggAppService, FronteggEntitlementsService } from '@frontegg/angular';
import { Entitlement } from '@frontegg/types';
import { Subscription } from 'rxjs';
import { User } from '@frontegg/redux-store';

enum EntitlementsQueryType {
FEATURE = 'featureEntitlements',
Expand All @@ -25,7 +26,7 @@ export class EntitlementsPage implements OnDestroy {
}
} = {};

user?: any;
user?: User;
subscriptions: Subscription[] = [];
isAuthenticatedSubscription: Subscription;

Expand Down

0 comments on commit 975db53

Please sign in to comment.