UNPKG

ng2-http

Version:

Angular2 HttpModule wrapper with decorators and interceptors

5 lines (4 loc) 365 B
import { RESTClient } from './rest.service'; import 'rxjs/add/operator/mergeMap'; export declare function param(paramName: string): (key: string) => (target: RESTClient, propertyKey: string | symbol, parameterIndex: number) => void; export declare function method(method: number): (url: string) => (target: RESTClient, propertyKey: string, descriptor: any) => any;