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:
Boris Yankov
2012-12-30 18:02:09 -08:00

View File

@@ -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;