mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
10 lines
450 B
TypeScript
10 lines
450 B
TypeScript
///<reference path="rx.js.d.ts" />
|
|
|
|
declare module Rx {
|
|
export module Observable {
|
|
function ifThen(condition: () => bool, thenSource: IObservable): IObservable;
|
|
function ifThen(condition: () => bool, thenSource: IObservable, elseSource: IObservable): IObservable;
|
|
function ifThen(condition: () => bool, thenSource: IObservable, scheduler: IScheduler): IObservable;
|
|
function interval(period: number, scheduler?: IScheduler): IObservable;
|
|
}
|
|
} |