mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
fix(restangular): remove duplicate IScopedService (#24865)
This commit is contained in:
parent
130f2eec2f
commit
e42e0bde81
9
types/restangular/index.d.ts
vendored
9
types/restangular/index.d.ts
vendored
@ -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>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user