mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00: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:
2
jquery/jquery-1.8.d.ts
vendored
2
jquery/jquery-1.8.d.ts
vendored
@@ -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