Update restangular.d.ts

Added service method from https://github.com/mgonto/restangular#decoupled-restangular-service
This commit is contained in:
jonathantyates 2014-08-23 00:42:29 -04:00
parent 807ba77ee6
commit aa05ededee

View File

@ -93,6 +93,7 @@ declare module restangular {
withConfig(configurer: (RestangularProvider: IProvider) => any): IService;
restangularizeElement(parent: any, element: any, route: string, collection?: any, reqParams?: any): IElement;
restangularizeCollection(parent: any, element: any, route: string): ICollection;
service(route: string, parent: any): IService;
stripRestangular(element: any): any;
}