Property ‘of’ does not exist on type ‘typeof Observable [duplicate]

Question

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’;

0
ajeetsinghaassak@gmail.com 3 weeks 0 Answers 23 views 0

Leave an answer

Browse
Browse