mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-21 11:09:53 +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:
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