From fa6f389191ae5c08012efbe47b26be004abea3f1 Mon Sep 17 00:00:00 2001 From: John Reilly Date: Tue, 26 Nov 2013 17:39:54 +0000 Subject: [PATCH] Q:jQueryPromise converted implicitly to Q promise --- q/Q.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/q/Q.d.ts b/q/Q.d.ts index e56d5cc17f..31537423f3 100644 --- a/q/Q.d.ts +++ b/q/Q.d.ts @@ -3,8 +3,11 @@ // Definitions by: Barrie Nemetchek, Andrew Gaspar // Definitions: https://github.com/borisyankov/DefinitelyTyped -declare function Q(value: T): Q.Promise; +/// + declare function Q(promise: Q.IPromise): Q.Promise; +declare function Q(promise: JQueryPromise): Q.Promise; +declare function Q(value: T): Q.Promise; declare module Q { interface IPromise {