mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-23 11:42:36 +08:00
Update jquery/jquery.d.ts
In jQuery's then call, the failure callback is optional. Only the success callback is mandatory.
This commit is contained in:
1 parent
fe108177ae
commit
1942781757
1 file changed
+1
-1
Vendored
+1
-1
@@ -88,7 +88,7 @@ interface JQueryPromise {
|
||||
progress(...progressCallbacks: any[]): JQueryPromise;
|
||||
state(): string;
|
||||
pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise;
|
||||
then(doneCallbacks: any, failCallbacks: any, progressCallbacks?: any): JQueryPromise;
|
||||
then(doneCallbacks: any, failCallbacks?: any, progressCallbacks?: any): JQueryPromise;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user