@cardboard-box/ngx-box
Version:
A collection of useful directives, components and services for angular
15 lines (14 loc) • 479 B
TypeScript
import { HttpContext, HttpHeaders, HttpParams } from "@angular/common/http";
export declare type HttpOptions = {
headers?: HttpHeaders | {
[header: string]: string | string[];
};
context?: HttpContext;
observe?: 'body';
params?: HttpParams | {
[param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
};
reportProgress?: boolean;
responseType?: 'json';
withCredentials?: boolean;
};