hunk.code_window: export declare function connect<T, O extends ObservableInput<unknown>>(selector: (shared: Observable<T>) => O, config?: ConnectConfig<T>): OperatorFunction<T, ObservedValueOf<O>>;
   export declare function connectable<T>(source: ObservableInput<T>, config?: ConnectableConfig<T>): ConnectableObservableLike<T>;
   export declare class ConnectableObservable<T> extends Observable<T> {
       protected _connection: Subscription | null;
       protected _refCount: number;
       protected _subject: Subject<T> | null;
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit: export declare function connectable<T>(source: ObservableInput<T>, config?: ConnectableConfig<T>): Connectable<T>;
   export interface Connectable<T> extends Observable<T> {
       connect(): Subscription;
   }
  
hunk.file_path: api_guard/dist/types/index.d.ts
hunk.type: replace
file: import { expect } from 'chai';
  import { Observable, of, Subscriber } from 'rxjs';
  import { observable as symbolObservable } from 'rxjs/internal/symbol/observable';
  import { asInteropObservable, asInteropSubscriber } from './interop-helper';
  
  describe('interop helper', () => {
    it('should simulate interop observables', () => {
      const observable: any = asInteropObservable(of(42));
      expect(observable).to.not.be.instanceOf(Observable);
      expect(observable[symbolObservable]).to.be.a('function');
    });
  
    it('should simulate interop subscribers', () => {
      const subscriber: any = asInteropSubscriber(new Subscriber());
      expect(subscriber).to.not.be.instanceOf(Subscriber);
    });
  });