Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#16520 from MarkBouwman/restangular…
Browse files Browse the repository at this point in the history
…-element-getrequestedurl

[restangular] IElement and ICollection should support getRequestedUrl()
  • Loading branch information
aozgaa authored May 19, 2017
2 parents 50a2786 + 57df824 commit ec48aab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/restangular/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ declare namespace restangular {
withHttpConfig(httpConfig: angular.IRequestShortcutConfig): IElement;
save(queryParams?: any, headers?: any): IPromise<any>;
getRestangularUrl(): string;
getRequestedUrl(): string;
route?: string;
id?: string;
reqParams?: any;
Expand All @@ -154,5 +155,6 @@ declare namespace restangular {
plain(): any;
plain<T>(): T[];
getRestangularUrl(): string;
getRequestedUrl(): string;
}
}

0 comments on commit ec48aab

Please sign in to comment.