diff --git a/chocolatechipjs/chocolatechipjs.d.ts b/chocolatechipjs/chocolatechipjs.d.ts index 269cb6790..d658118a0 100644 --- a/chocolatechipjs/chocolatechipjs.d.ts +++ b/chocolatechipjs/chocolatechipjs.d.ts @@ -671,6 +671,12 @@ interface ChocolateChipAjaxSettings { */ type?: string; + /** + * An property that does not seem to be officially documented, but is used in the documentation. + * Its functionality seems to be identical to that of 'type' which *is* documented. + */ + method?: string; + /** * A pre-request callback function that can be used to modify the XMLHTTPRequest object before it is sent. * Use this to set custom headers, etc. This is an Ajax Event. Returning false in the beforeSend function will cancel the request.