UNPKG

@universis/common

Version:

Universis - common directives and services

9 lines (8 loc) 443 B
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ApiTestingController } from './api-testing-controller.service'; export declare class ApiTestingInterceptor implements HttpInterceptor { private httpController; constructor(httpController: ApiTestingController); intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; }