UNPKG

ngx-ui-hero

Version:

Simple, fast and reliable utilities for Angular.

13 lines (12 loc) 642 B
import { Observable } from 'rxjs'; import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { ApiSettings } from '../api.settings'; import * as i0 from "@angular/core"; export declare class ResponseDataInterceptor implements HttpInterceptor { settings: ApiSettings; private _responseDataPropertyName; constructor(settings: ApiSettings); intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; static ɵfac: i0.ɵɵFactoryDeclaration<ResponseDataInterceptor, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ResponseDataInterceptor>; }