ngx-crud
Version:
CRUD services in Angular with effortless aborting, caching and observing
13 lines (12 loc) • 697 B
TypeScript
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
import { Observable } from 'rxjs';
import { ObserveService } from './observe.service';
import * as i0 from "@angular/core";
export declare class ObserveInterceptor implements HttpInterceptor {
protected observeService: ObserveService;
constructor(observeService: ObserveService);
intercept<T>(request: HttpRequest<T>, next: HttpHandler): Observable<HttpEvent<T>>;
handle<T>(request: HttpRequest<T>, next: HttpHandler): Observable<HttpEvent<T>>;
static ɵfac: i0.ɵɵFactoryDeclaration<ObserveInterceptor, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ObserveInterceptor>;
}