| 874 | |
| 875 | function provideLegacyInterceptor(tag: string): Provider { |
| 876 | class LegacyTagInterceptor implements HttpInterceptor { |
| 877 | intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> { |
| 878 | return next.handle(addTagToRequest(req, tag)); |
| 879 | } |
| 880 | } |
| 881 | |
| 882 | const token = new InjectionToken(`LegacyTagInterceptor[${tag}]`, { |
| 883 | providedIn: 'root', |
nothing calls this directly
no outgoing calls
no test coverage detected