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