After upgrading to angular-cli@1.6.3 and converting all the RxJS imports, methods, and operators to the new >5.5 form, I get a type error at run-time saying that Observabl
When using lettable (now known as pipeable) operators and factory functions, those are just functions, not methods of Observables. So it should just be
import { of } from 'rxjs/observable/of';
import { fromEvent } from 'rxjs/observable/fromEvent';
const x = of(true, false);
const y = fromEvent(target, 'click');
See how the documentation uses the range
factory function.