UNPKG

@ng-doc/ui-kit

Version:

<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>

14 lines (11 loc) 557 B
import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import * as i0 from '@angular/core'; declare class NgDocCacheInterceptor implements HttpInterceptor { static readonly TOKEN: string; private cache; intercept<T>(request: HttpRequest<T>, next: HttpHandler): Observable<HttpEvent<T>>; static ɵfac: i0.ɵɵFactoryDeclaration<NgDocCacheInterceptor, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NgDocCacheInterceptor>; } export { NgDocCacheInterceptor };