| 629 | |
| 630 | function provideLegacyInterceptor(tag: string): Provider { |
| 631 | class LegacyTagInterceptor implements HttpInterceptor { |
| 632 | intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> { |
| 633 | return next.handle(addTagToRequest(req, tag)); |
| 634 | } |
| 635 | } |
| 636 | |
| 637 | const token = new InjectionToken(`LegacyTagInterceptor[${tag}]`, { |
| 638 | providedIn: 'root', |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…