mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00: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:
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