/// module Rx { export interface Observable { /** * Returns the values from the source observable sequence until the other observable sequence produces a value. * @param {Observable | Promise} other Observable sequence or Promise that terminates propagation of elements of the source sequence. * @returns {Observable} An observable sequence containing the elements of the source sequence up to the point the other sequence interrupted further propagation. */ takeUntil(other: ObservableOrPromise): Observable; } } (function() { var o: Rx.Observable; var o2: Rx.Observable; o = o.skipUntil(o2); });