mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
(restangular) Fix argument order in custom methods
The arguments were in the wrong order for custom methods
This commit is contained in:
1 parent
01f1a715b4
commit
e3c20e7aca
1 file changed
+2
-2
Vendored
+2
-2
@@ -60,8 +60,8 @@ interface RestangularCustom {
|
||||
customGET(path: string, params?: any, headers?: any): ng.IPromise<any>;
|
||||
customGETLIST(path: string, params?: any, headers?: any): ng.IPromise<any>;
|
||||
customDELETE(path: string, params?: any, headers?: any): ng.IPromise<any>;
|
||||
customPOST(path: string, params?: any, headers?: any, elem?: any): ng.IPromise<any>;
|
||||
customPUT(path: string, params?: any, headers?: any, elem?: any): ng.IPromise<any>;
|
||||
customPOST(elem?: any, path?: string, params?: any, headers?: any): ng.IPromise<any>;
|
||||
customPUT(elem?: any, path?: string, params?: any, headers?: any): ng.IPromise<any>;
|
||||
customOperation(operation: string, path: string, params?: any, headers?: any, elem?: any): ng.IPromise<any>;
|
||||
addRestangularMethod(name: string, operation: string, path?: string, params?: any, headers?: any, elem?: any): ng.IPromise<any>;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user