mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-30 17:04:20 +08:00
extends restangular IProvider in IService interface
This commit is contained in:
2
restangular/restangular.d.ts
vendored
2
restangular/restangular.d.ts
vendored
@@ -83,7 +83,7 @@ declare module restangular {
|
||||
addRestangularMethod(name: string, operation: string, path?: string, params?: any, headers?: any, elem?: any): IPromise<any>;
|
||||
}
|
||||
|
||||
interface IService extends ICustom {
|
||||
interface IService extends ICustom, IProvider {
|
||||
one(route: string, id?: number): IElement;
|
||||
one(route: string, id?: string): IElement;
|
||||
oneUrl(route: string, url: string): IElement;
|
||||
|
||||
Reference in New Issue
Block a user