This question already has answers here:
Closed 3 years ago.
I was recently using observable on my authentication token like
Observable.of('token');
But it keeps giving me above mentioned error, though i have already imported this.
import {Observable} from 'rxjs/Observable';