From 99e020bff32db617ecde4c12dba1c45c6ea1c0b4 Mon Sep 17 00:00:00 2001 From: vcastro Date: Thu, 6 Jun 2013 10:50:23 +0100 Subject: [PATCH] Updated QStatic.when to better reflect the actual signature of the method. --- 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 044f9752f..15f3fdea7 100644 --- a/q/Q.d.ts +++ b/q/Q.d.ts @@ -36,7 +36,7 @@ interface Qpromise { } interface QStatic { - when(value: any, onFulfilled: Function, onRejected?: Function): Qpromise; + when(value: any, onFulfilled?: Function, onRejected?: Function): Qpromise; try(method: Function, ...args: any[]): Qpromise; fbind(method: Function, ...args: any[]): Qpromise; fcall(method: Function, ...args: any[]): Qpromise;