Add missing plain and clone method to restangular IElement

See https://github.com/mgonto/restangular#element-methods for documentation on the methods.
This commit is contained in:
Sam Herrmann
2015-03-26 22:41:54 -04:00
parent be0b6b394f
commit 300d87447e
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -112,6 +112,8 @@ declare module restangular {
trace(queryParams?: any, headers?: any): IPromise<any>;
options(queryParams?: any, headers?: any): IPromise<any>;
patch(queryParams?: any, headers?: any): IPromise<any>;
clone(): IElement;
plain(): any;
withHttpConfig(httpConfig: IRequestConfig): IElement;
getRestangularUrl(): string;
}