UNPKG

rs-restangular

Version:

Restful Resources service for Angular 2 apps

14 lines (13 loc) 445 B
import { Http } from '@angular/http'; import { RestangularConfig } from './config'; import { RestangularPath } from './path'; import { PathInterface } from './path.interface'; export declare class Restangular { http: Http; config: RestangularConfig; path: RestangularPath; route: PathInterface; constructor(http: Http); all(route: string): RestangularPath; one(route: string, id: string | number): RestangularPath; }