mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Restangular also accepts strings as id for the method "one"
This commit is contained in:
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