Merge pull request #4334 from brp-nylin/restangular

Added definition of extendModel() in IService for Restangular
This commit is contained in:
Masahiro Wakame
2015-05-14 23:36:58 +09:00
+1
View File
@@ -95,6 +95,7 @@ declare module restangular {
restangularizeCollection(parent: any, element: any, route: string): ICollection;
service(route: string, parent?: any): IService;
stripRestangular(element: any): any;
extendModel(route: string, extender: (model: IElement) => any): void;
}
interface IElement extends IService {