mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add missing getRestangularUrl method
Both `RestangularElement` and `RestangularCollection` were missing the `getRestangularUrl`. https://github.com/mgonto/restangular#element-methods
This commit is contained in:
Vendored
+2
@@ -31,6 +31,7 @@ interface RestangularElement extends Restangular {
|
||||
trace(queryParams?, headers?): ng.IPromise;
|
||||
options(queryParams?, headers?): ng.IPromise;
|
||||
patch(queryParams?, headers?): ng.IPromise;
|
||||
getRestangularUrl(): string;
|
||||
}
|
||||
|
||||
interface RestangularCollection extends Restangular {
|
||||
@@ -41,6 +42,7 @@ interface RestangularCollection extends Restangular {
|
||||
options(queryParams?, headers?): ng.IPromise;
|
||||
patch(queryParams?, headers?): ng.IPromise;
|
||||
putElement(idx, params, headers): ng.IPromise;
|
||||
getRestangularUrl(): string;
|
||||
}
|
||||
|
||||
interface RestangularCustom {
|
||||
|
||||
Reference in New Issue
Block a user