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:
Steve Fenton
2013-01-22 21:38:35 +00:00
parent fe108177ae
commit 1942781757
+1 -1
View File
@@ -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;
}
/*