From 1942781757758041da17e57b663a29bec2e03f4e Mon Sep 17 00:00:00 2001 From: Steve Fenton Date: Tue, 22 Jan 2013 21:38:35 +0000 Subject: [PATCH] Update jquery/jquery.d.ts In jQuery's then call, the failure callback is optional. Only the success callback is mandatory. --- jquery/jquery.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery/jquery.d.ts b/jquery/jquery.d.ts index e5b0c4187d..ca43d94bcd 100644 --- a/jquery/jquery.d.ts +++ b/jquery/jquery.d.ts @@ -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; } /*