DefinitelyTyped/restangular
Marvin Luchs cc0537a0ac "parent" argument of Restangular.service() should be optional
The documentation as well as the actual source code of Restangular
define the parent argument of Restangular.service(route, parent) as
optional:

https://github.com/mgonto/restangular#decoupled-restangular-service

function toService(route, parent) {
[...]
var collection = (parent || service).all(route);
2015-04-27 13:01:12 +02:00
..
restangular-tests.ts Add missing plain and clone method to restangular IElement 2015-03-26 22:41:54 -04:00
restangular.d.ts "parent" argument of Restangular.service() should be optional 2015-04-27 13:01:12 +02:00