UNPKG

ngx-http-annotations

Version:

This is a library to angular to use http request via decorator/annotations

26 lines (25 loc) 1.1 kB
import { NgxHttpAnnotationsModule } from "./lib/ngx-http-annotations.module"; export * from './lib/ngx-http-annotations.module'; export * from './lib/ngx-http-annotations.const'; import { headers, observe, path, produces, query } from './lib/ngx-http-annotations.utils'; /** * @deprecated replace HttpRestModule by NgxHttpAnnotationsModule */ export declare let HttpRestModule: typeof NgxHttpAnnotationsModule; export declare let Path: typeof path; export declare let PathParam: typeof path; export declare let Body: (...args: any[]) => void; export declare let ResponseObservable: (...args: any[]) => void; export declare let Query: (...args: any[]) => void; export declare let QueryParam: typeof query; export declare let QueryParams: typeof query; export declare let Observe: typeof observe; export declare let Headers: typeof headers; export declare let Produces: typeof produces; export declare let GET: any; export declare let POST: any; export declare let PUT: any; export declare let DELETE: any; export declare let OPTIONS: any; export declare let HEAD: any; export declare let PATCH: any;