hunk.code_window: /* tslint:disable:max-line-length */
   export function publish<T>(): UnaryFunction<Observable<T>, ConnectableObservable<T>>;
   export function publish<T, R>(selector: OperatorFunction<T, R>): OperatorFunction<T, R>;
   export function publish<T>(selector: MonoTypeOperatorFunction<T>): MonoTypeOperatorFunction<T>;
   /* tslint:enable:max-line-length */
   /**
    * Returns a ConnectableObservable, which is a variety of Observable that waits until its connect method is called
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit: export function publish<T, O extends ObservableInput<any>>(selector: (shared: Observable<T>) => O): OperatorFunction<T, ObservedValueOf<O>>;
  
hunk.file_path: src/internal/operators/publish.ts
hunk.type: replace
file: import 'rxjs-compat/add/operator/timeInterval';
  