mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
WIP
WIP WIP WIP WIP WIP WIP: Remove trailing newlines WIP WIP WIP WIP WIP WIP WIP WIP: All tests pass WIP WIP WIP
This commit is contained in:
Vendored
+1
-1
@@ -35,7 +35,7 @@ declare namespace restangular {
|
||||
method: string;
|
||||
url: string;
|
||||
params: any;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
interface IProvider {
|
||||
|
||||
@@ -81,7 +81,7 @@ myApp.controller('TestCtrl', (
|
||||
Restangular.one('accounts', 123).one('buildings', 456).get<String>();
|
||||
Restangular.one('accounts', 123).getList('buildings');
|
||||
Restangular.one('accounts', 123).getList<String>('buildings');
|
||||
|
||||
|
||||
Restangular.setBaseUrl('/api/v1');
|
||||
Restangular.setExtraFields(['name']);
|
||||
Restangular.setResponseExtractor(function (response, operation) {
|
||||
|
||||
Reference in New Issue
Block a user