mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Vendored
+9
@@ -1152,6 +1152,15 @@ declare module ng {
|
||||
*/
|
||||
put<T>(url: string, data: any, config?: IRequestShortcutConfig): IHttpPromise<T>;
|
||||
|
||||
/**
|
||||
* Shortcut method to perform PATCH request.
|
||||
*
|
||||
* @param url Relative or absolute URL specifying the destination of the request
|
||||
* @param data Request content
|
||||
* @param config Optional configuration object
|
||||
*/
|
||||
patch<T>(url: string, data: any, config?: IRequestShortcutConfig): IHttpPromise<T>;
|
||||
|
||||
/**
|
||||
* Runtime equivalent of the $httpProvider.defaults property. Allows configuration of default headers, withCredentials as well as request and response transformations.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user