UNPKG

@ynmstudio/utils

Version:
12 lines (11 loc) 713 B
import { HttpRequest, HttpHandlerFn, HttpEvent, HttpHandler, HttpInterceptor } from "@angular/common/http"; import { Observable } from "rxjs"; import * as i0 from "@angular/core"; /** Inject With Credentials into the request */ export declare class CraftIframeResizerInterceptor implements HttpInterceptor { constructor(); intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; static ɵfac: i0.ɵɵFactoryDeclaration<CraftIframeResizerInterceptor, never>; static ɵprov: i0.ɵɵInjectableDeclaration<CraftIframeResizerInterceptor>; } export declare const craftIframeResizerInterceptor: (req: HttpRequest<unknown>, next: HttpHandlerFn) => Observable<HttpEvent<unknown>>;