Merge pull request #4206 from serendipitic/master

"parent" argument of Restangular.service() should be optional
This commit is contained in:
Masahiro Wakame
2015-04-29 01:14:27 +09:00
+1 -1
View File
@@ -93,7 +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;
service(route: string, parent?: any): IService;
stripRestangular(element: any): any;
}