Merge pull request #2741 from cristian-harja/patch-1

Silly mistake in pull request #2643
This commit is contained in:
Masahiro Wakame
2014-08-29 17:41:15 +09:00

2
q/Q.d.ts vendored
View File

@@ -104,7 +104,7 @@ declare module Q {
/**
* If callback is a function, assumes it's a Node.js-style callback, and calls it as either callback(rejectionReason) when/if promise becomes rejected, or as callback(null, fulfillmentValue) when/if promise becomes fulfilled. If callback is not a function, simply returns promise.
*/
nodeify(callback: (reason: any, value: any) => void): void;
nodeify(callback: (reason: any, value: any) => void): Promise<T>;
/**
* Returns a promise to get the named property of an object. Essentially equivalent to