publish.ts 243 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 import { Observable } from '../../Observable'; import { publish } from '../../operator/publish'; Observable.prototype.publish = <any>publish; declare module '../../Observable' { interface Observable<T> { publish: typeof publish; } }