@controladad/ng-base
Version:
Everything you need for Angular
10 lines (9 loc) • 495 B
TypeScript
import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class ApiInterceptor implements HttpInterceptor {
readonly apiBaseUrl: string;
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
static ɵfac: i0.ɵɵFactoryDeclaration<ApiInterceptor, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ApiInterceptor>;
}