mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
Added definition of extendModel() in IService for Restangular
This commit is contained in:
1 parent
52fdabbd26
commit
16744e323f
1 file changed
+1
Vendored
+1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user