withLatestFrom.ts 280 Bytes

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

Observable.prototype.withLatestFrom = withLatestFrom;

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