Updated QStatic.when to better reflect the actual signature of the method.

This commit is contained in:
vcastro
2013-06-06 10:50:23 +01:00
parent 516443cc70
commit 99e020bff3
Vendored
+1 -1
View File
@@ -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;