fix(restangular): remove duplicate IScopedService (#24865)

This commit is contained in:
Lior Chen 2018-04-10 20:27:08 +03:00 committed by Mohamed Hegazy
parent 130f2eec2f
commit e42e0bde81

View File

@ -107,15 +107,6 @@ declare namespace restangular {
getList<T>(queryParams?: any, headers?: any): ICollectionPromise<T>;
}
interface IScopedService extends IService {
one(id: number): IElement;
one(id: string): IElement;
post(elementToPost: any, queryParams?: any, headers?: any): IPromise<any>;
post<T>(elementToPost: T, queryParams?: any, headers?: any): IPromise<T>;
getList(queryParams?: any, headers?: any): ICollectionPromise<any>;
getList<T>(queryParams?: any, headers?: any): ICollectionPromise<T>;
}
interface IElement extends IService {
get(queryParams?: any, headers?: any): IPromise<any>;
get<T>(queryParams?: any, headers?: any): IPromise<T>;