mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-28 12:43:06 +08:00
Merge pull request #2493 from ciel/master
Updated "then" within interface JQueryXHR
This commit is contained in:
Vendored
+1
-1
@@ -176,7 +176,7 @@ interface JQueryXHR extends XMLHttpRequest, JQueryPromise<any> {
|
||||
/**
|
||||
* Incorporates the functionality of the .done() and .fail() methods, allowing (as of jQuery 1.8) the underlying Promise to be manipulated. Refer to deferred.then() for implementation details.
|
||||
*/
|
||||
then(doneCallback: (data: any, textStatus: string, jqXHR: JQueryXHR) => void, failCallback: (jqXHR: JQueryXHR, textStatus: string, errorThrown: any) => void): JQueryPromise<any>;
|
||||
then(doneCallback: (data: any, textStatus: string, jqXHR: JQueryXHR) => void, failCallback?: (jqXHR: JQueryXHR, textStatus: string, errorThrown: any) => void): JQueryPromise<any>;
|
||||
/**
|
||||
* Property containing the parsed response if the response Content-Type is json
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user