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
RxJS 6
When upgrading to version 6 of the RxJS library and not using the rxjs-compat package the following code
RxJS
rxjs-compat
import 'rxjs/add/observable/of'; // ... return Observable.of(res);
has to be changed into
import { of } from 'rxjs'; // ... return of(res);