mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-06 12:30:10 +08:00
Merge pull request #146 from k00ni/patch-1
Set options in ajaxSetup(options: any) optional, to allow use it as a get function
This commit is contained in:
commit
470c5feec2
1 file changed
+1
-1
Vendored
+1
-1
@@ -179,7 +179,7 @@ interface JQueryStatic {
|
||||
|
||||
ajaxSettings: JQueryAjaxSettings;
|
||||
|
||||
ajaxSetup(options: any);
|
||||
ajaxSetup(options?: any);
|
||||
|
||||
get(url: string, data?: any, success?: any, dataType?: any): JQueryXHR;
|
||||
getJSON(url: string, data?: any, success?: any): JQueryXHR;
|
||||
|
||||
Reference in new issue
Block a user