Skip to content

Commit

Permalink
A Q deferred can be resolved with a promise
Browse files Browse the repository at this point in the history
  • Loading branch information
stevegeek committed Mar 23, 2016
1 parent a3a365d commit 904e8f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions q/Q.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ declare namespace Q {
interface Deferred<T> {
promise: Promise<T>;
resolve(value?: T): void;
resolve(value?: IPromise<T>): void;
reject(reason: any): void;
notify(value: any): void;
makeNodeResolver(): (reason: any, value: T) => void;
Expand Down

0 comments on commit 904e8f5

Please sign in to comment.