I have the following SessionService.component.ts with a logout() method:
SessionService.component.ts
logout()
@Injectable({ providedIn: \'root\' }) export class SessionS