Merge pull request #815 from santialbo/patch-3

Restangular also accepts strings as id for the method "one"
This commit is contained in:
Diullei Gomes 2013-08-03 09:06:42 -07:00
commit 17df2c7aaa

View File

@ -8,6 +8,7 @@
interface Restangular extends RestangularCustom {
one(route: string, id?: number): RestangularElement;
one(route: string, id?: string): RestangularElement;
all(route: string): RestangularCollection;
copy(fromElement: any): RestangularElement;
withConfig(configurer: any): Restangular;