From 2c861a8a1dfa46fc962b4124036b83a580e85f28 Mon Sep 17 00:00:00 2001 From: cristian-harja Date: Fri, 29 Aug 2014 10:38:29 +0200 Subject: [PATCH] Silly mistake in pull request #2643 --- q/Q.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/q/Q.d.ts b/q/Q.d.ts index c7c294a1fd..1352115e31 100644 --- a/q/Q.d.ts +++ b/q/Q.d.ts @@ -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; /** * Returns a promise to get the named property of an object. Essentially equivalent to