Ever since I updated my project from Beta6 to Beta7 I have been getting the following error.
Error TS2339: Property ‘map’ does not exist on type ‘Observable’
Yes, I have imported “rxjs/add/operator/map” and have also tried importing it in different ways like so:
import {Observable} from 'rxjs/Rx';
import 'rxjs/add/operator/map';
import 'rxjs/Rx';
Here is an example of the line that the error occurs.
this.authHttp.get(url).map(res => res.json()); // via angular2-jwt
Everything was working before I updated my project. Any help is appreciated.
Thanks!