Skip to content

Commit eaf4ce0

Browse files
committed
Restangular: Adding In Some Restangular Api Methods
1 parent 8474ad5 commit eaf4ce0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

restangular/restangular.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for Restangular v0.8.0 - 2013-06-03
1+
// Type definitions for Restangular v1.2.2 - 2014-01-10
22
// Project: https://github.com/mgonto/restangular
33
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
44
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -12,6 +12,9 @@ interface Restangular extends RestangularCustom {
1212
all(route: string): RestangularCollection;
1313
copy(fromElement: any): RestangularElement;
1414
withConfig(configurer: (RestangularProvider) => any): Restangular;
15+
restangularizeElement(parent: any, element: any, route: string, collection?, reqParams?): RestangularElement;
16+
restangularizeCollection(parent: any, element: any, route: string): RestangularCollection;
17+
stripRestangular(element: any): any;
1518
}
1619

1720
interface RestangularElement extends Restangular {

0 commit comments

Comments
 (0)