mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Updated QStatic.when to better reflect the actual signature of the method.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user