-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Property 'map' does not exist on type 'AngularFireAuth' #531
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
Comments
Try adding at the top import 'rxjs/add/operator/map' |
I also had to add the same line for .take(1) but it worked. Thanks! Seems like a workaround to me though. Is it a problem with Angular or AngularFire? And if so, is it going to be fixed in the future? |
It's not a work-around. I am sure you can find a lot of info on internet, but let me give you my simple theory. Hope this helps. @katowulf any thoughts ?? |
I see, great explanation. Thanks! |
Hi,
I've upgraded to latest Angular 2.0.0 and Angular-cli webpack. But when trying to .map an Observable, TS returns this error
Property 'map' does not exist on type 'AngularFireAuth'
Here is the AuthGuard service where I'm trying to return an Observable:
Any ideas? Thanks!
The text was updated successfully, but these errors were encountered: