Skip to content

Commit ad5a97d

Browse files
authored
Update a-http-interceptor-logging for RxJS move
thanks
1 parent eb7c5cb commit ad5a97d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

snippets/typescript.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@
137137
"description": "Angular HttpInterceptor for Logging HttpClient",
138138
"body": [
139139
"import { HttpInterceptor, HttpHandler, HttpRequest, HttpEvent, HttpResponse } from '@angular/common/http';",
140-
"import { Observable, tap } from 'rxjs';",
140+
"import { Observable } from 'rxjs';",
141+
"import { tap } from 'rxjs/operators';",
141142
"",
142143
"@Injectable()",
143144
"export class LogInterceptor implements HttpInterceptor {",

0 commit comments

Comments
 (0)