RxJS version:
5.5.0
Code to reproduce:
declare const obs: Observable<number>;
const temp: null = obs.pipe(publishReplay(1));
Expected behavior:
I'm expecting Type 'Observable<number>' is not assignable to type 'null'.
Actual behavior:
Type 'Observable<any>' is not assignable to type 'null'.