Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit 668626e

Browse files
Fixing lite isScheduler
1 parent c3f6f12 commit 668626e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ts/rx-lite.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ declare module Rx {
5050
export module helpers {
5151
function noop(): void;
5252
function notDefined(value: any): boolean;
53-
function isScheduler(value: any): boolean;
5453
function identity<T>(value: T): T;
5554
function defaultNow(): number;
5655
function defaultComparer(left: any, right: any): boolean;
@@ -117,6 +116,7 @@ declare module Rx {
117116

118117
export interface IScheduler {
119118
now(): number;
119+
isScheduler(value: any): boolean;
120120

121121
schedule(action: () => void): IDisposable;
122122
scheduleWithState<TState>(state: TState, action: (scheduler: IScheduler, state: TState) => IDisposable): IDisposable;
@@ -308,7 +308,7 @@ declare module Rx {
308308
do(onNext?: (value: T) => void, onError?: (exception: any) => void, onCompleted?: () => void): Observable<T>;
309309
doAction(onNext?: (value: T) => void, onError?: (exception: any) => void, onCompleted?: () => void): Observable<T>; // alias for do
310310
tap(onNext?: (value: T) => void, onError?: (exception: any) => void, onCompleted?: () => void): Observable<T>; // alias for do
311-
311+
312312
doOnNext(onNext: (value: T) => void, thisArg?: any): Observable<T>;
313313
doOnError(onError: (exception: any) => void, thisArg?: any): Observable<T>;
314314
doOnCompleted(onCompleted: () => void, thisArg?: any): Observable<T>;

0 commit comments

Comments
 (0)