Silly mistake in pull request #2643

This commit is contained in:
cristian-harja
2014-08-29 10:38:29 +02:00
parent b300dad255
commit 2c861a8a1d
Vendored
+1 -1
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