mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Added missing customPATCH method (#15945)
This commit is contained in:
committed by
Mohamed Hegazy
parent
5f27bc2094
commit
c26fe793b8
1
types/restangular/index.d.ts
vendored
1
types/restangular/index.d.ts
vendored
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user