I am having issue with importing Observable.of function in my project. My Intellij sees everything. In my code I have:
Observable.of
import {Observable} from
If anybody is having this problem while using Angular 6/rxjs 6 see the answers here: Could not use Observable.of in RxJs 6 and Angular 6
In short, you need to import it like this:
import { of } from 'rxjs';
And then instead of calling
Observable.of(res);
just use
of(res);