UNPKG

rxjs

Version:

Reactive Extensions for modern JavaScript

11 lines (8 loc) 262 B
import { Observable } from '../../Observable'; import { shareReplay } from '../../operator/shareReplay'; Observable.prototype.shareReplay = shareReplay; declare module '../../Observable' { interface Observable<T> { shareReplay: typeof shareReplay; } }