Skip to content

Commit

Permalink
chore: fix build errors in master (ReactiveX#5256)
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh authored and Martin Sikora committed Feb 15, 2020
1 parent a86c7f7 commit db92ff8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/internal/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,10 @@ export interface Observer<T> {

export interface SchedulerLike {
now(): number;
schedule<T = undefined>(work: (this: SchedulerAction<T>, state: T) => void, delay?: number, state?: T): Subscription;
schedule(work: (this: SchedulerAction<undefined>) => void, delay?: number ): Subscription;
schedule<T>(work: (this: SchedulerAction<T>, state: T) => void, delay: number, state: T): Subscription;
}

export interface SchedulerAction<T> extends Subscription {
schedule(state?: T, delay?: number): Subscription;
}
Expand Down

0 comments on commit db92ff8

Please sign in to comment.