@ng-app-framework/api
Version:

10 lines (9 loc) • 366 B
TypeScript
import { HttpErrorResponse, HttpResponse } from "@angular/common/http";
export declare class HeaderLoader {
static headerMap: {
[key: string]: string;
};
static load(response: HttpResponse<any>): HttpResponse<any>;
static loadFromError(response: HttpErrorResponse): HttpErrorResponse;
static getHeader(response: any, header: any): any;
}