Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

Following Code: private getJSON(): Observable<any> { return this.http.get('./reportNav-NEW.json') .map((res:any)=> res.json()) .catch((error:any) => console.log(error)); } The Error gives me: Argument of type ‘(error: any) => void’ is not assignable to ...

  • 0

This question already has answers here: Type ‘void’ is not assignable to type ‘ObservableInput<{}>’ (3 answers) Closed 2 years ago. Following Code: private getJSON(): Observable<any> { return this.http.get('./reportNav-NEW.json') .map((res:any)=> res.json()) .catch((error:any) ...

  • 0

Declared in service like this: public currentDBUserBS$: any;constructor(private afDb: AngularFireDatabase){}fetchUser(uid){ this.afDb.object(`users/${uid}`).valueChanges().subscribe((dUser) => { if (dUser) { this.currentDBUserBS$ = dUser; } }); }Now trying to use in template template: `<li *ngIf="(authService.currentDBUserBS$ ...

close