publishReplay.ts 274 Bytes

import { Observable } from '../../Observable';
import { publishReplay } from '../../operator/publishReplay';

Observable.prototype.publishReplay = publishReplay;

declare module '../../Observable' {
  interface Observable<T> {
    publishReplay: typeof publishReplay;
  }
}