diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index c907bbfe94..e5f6f779eb 100755 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -1152,6 +1152,15 @@ declare module ng { */ put(url: string, data: any, config?: IRequestShortcutConfig): IHttpPromise; + /** + * 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(url: string, data: any, config?: IRequestShortcutConfig): IHttpPromise; + /** * Runtime equivalent of the $httpProvider.defaults property. Allows configuration of default headers, withCredentials as well as request and response transformations. */