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>

11 lines (10 loc) 528 B
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export 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>; }