Minor fixes for issue #726

This commit is contained in:
Andrew Gaspar
2013-07-05 01:06:47 -07:00
parent 85eabfe63b
commit 284f4a629a
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ interface JQueryPromise<T> {
progress(...progressCallbacks: any[]): JQueryPromise<T>;
// Deprecated - given no typings
pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise;
pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<any>;
then<U>(onFulfill: (value: T) => U, onReject?: (...reasons) => U, onProgress?: (...progression) => any): JQueryPromise<U>;
then<U>(onFulfill: (value: T) => JQueryGenericPromise<U>, onReject?: (...reasons) => U, onProgress?: (...progression) => any): JQueryPromise<U>;