Added missing customPATCH method (#15945)

This commit is contained in:
Martin Deiss
2017-05-05 03:08:32 +02:00
committed by Mohamed Hegazy
parent 5f27bc2094
commit c26fe793b8

View File

@@ -76,6 +76,7 @@ declare namespace restangular {
customDELETE(path: string, params?: any, headers?: any): IPromise<any>;
customPOST(elem?: any, path?: string, params?: any, headers?: any): IPromise<any>;
customPUT(elem?: any, path?: string, params?: any, headers?: any): IPromise<any>;
customPATCH(elem?: any, path?: string, params?: any, headers?: any): IPromise<any>;
customOperation(operation: string, path: string, params?: any, headers?: any, elem?: any): IPromise<any>;
addRestangularMethod(name: string, operation: string, path?: string, params?: any, headers?: any, elem?: any): IPromise<any>;
}