import { Injectable } from '@angular/core' ; import { HttpEvent , HttpInterceptor , HttpHandler , HttpRequest } from '@angular/common/http' ; import { Observable } from 'rxjs/Rx' ; deprecated @ Injectable ( ) export class NoopInterceptor implements HttpInterceptor { intercept ( req , next ) { return next . handle ( req ) ; } }