From aa05ededeeaf5595f7fa050f0cc76fedba9226e9 Mon Sep 17 00:00:00 2001 From: jonathantyates Date: Sat, 23 Aug 2014 00:42:29 -0400 Subject: [PATCH] Update restangular.d.ts Added service method from https://github.com/mgonto/restangular#decoupled-restangular-service --- restangular/restangular.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/restangular/restangular.d.ts b/restangular/restangular.d.ts index 9fd397bf57..a1a7e8a5ef 100644 --- a/restangular/restangular.d.ts +++ b/restangular/restangular.d.ts @@ -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; }