mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
Merge pull request #815 from santialbo/patch-3
Restangular also accepts strings as id for the method "one"
This commit is contained in:
commit
17df2c7aaa
1 file changed
+1
Vendored
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user