Skip to content

Commit

Permalink
Merge pull request #1937 from david-driscoll/fix-promise-input
Browse files Browse the repository at this point in the history
style(typings): updated ObservableInput<T> to use PromiseLike<T> instead of Promise<T>
  • Loading branch information
jayphelps authored Sep 16, 2016
2 parents ea983c3 + 67421c1 commit 36c7676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Observable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface Subscribable<T> {
complete?: () => void): AnonymousSubscription;
}

export type SubscribableOrPromise<T> = Subscribable<T> | Promise<T>;
export type SubscribableOrPromise<T> = Subscribable<T> | PromiseLike<T>;
export type ObservableInput<T> = SubscribableOrPromise<T> | ArrayLike<T>;

/**
Expand Down

0 comments on commit 36c7676

Please sign in to comment.