From d4b888e50fc7626f64d220ad14db1a2681f125c7 Mon Sep 17 00:00:00 2001 From: Andrew Gaspar Date: Thu, 20 Jun 2013 22:06:09 -0700 Subject: [PATCH] Slight update to q.d.ts to reflect current limitations in TypeScript. --- q/Q.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/q/Q.d.ts b/q/Q.d.ts index 56a070b35..dd6786594 100644 --- a/q/Q.d.ts +++ b/q/Q.d.ts @@ -3,8 +3,8 @@ // Definitions by: Barrie Nemetchek, Andrew Gaspar // Definitions: https://github.com/borisyankov/DefinitelyTyped -declare function Q(value: T): Q.Promise; -//declare function Q(value: Q.Promise): Q.Promise +declare function Q(value): Q.Promise; + declare module Q { interface Deferred { promise: Promise;