mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-28 12:43:06 +08:00
The definition does not leverage the returned value of $.ajax()
method well. The official syntax is
```
jqXHR.then(function( data, textStatus, jqXHR ) {}, function( jqXHR, textStatus, errorThrown ) {});
```
(From: http://api.jquery.com/jQuery.ajax/)