diff --git a/diffs/18-modern-angular.html b/diffs/18-modern-angular.html
index 60855dd..fb175d8 100644
--- a/diffs/18-modern-angular.html
+++ b/diffs/18-modern-angular.html
@@ -16618,7 +16618,7 @@
|
- @@ -1,36 +1,30 @@
+ @@ -1,36 +1,24 @@
|
@@ -16641,13 +16641,13 @@
|
-
+ |
3
|
-
+ |
-
- HttpRequest,
+ -
+ HttpRequest,
|
@@ -16661,23 +16661,23 @@
-
+ |
5
|
-
+ |
-
+ -
HttpEvent,
|
-
+ |
6
|
-
+ |
-
- HttpInterceptor
+ HttpInterceptor
|
@@ -16691,12 +16691,12 @@
-
+ |
8
|
-
+ |
-
+ -
import { Observable } from 'rxjs';
|
@@ -16727,7 +16727,7 @@
-
- @Injectable()
+ @Injectable()
|
@@ -16737,37 +16737,7 @@
-
- export class AuthInterceptor implements HttpInterceptor {
-
- |
-
-
-
- |
-
-
-
-
-
- |
-
-
-
- |
-
-
-
-
-
- |
-
-
-
- |
-
-
-
-
+ export class AuthInterceptor implements HttpInterceptor {
|
@@ -17115,13 +17085,13 @@
-
+ |
3
|
-
+ |
-
- HttpRequest,
+ +
+ HttpInterceptorFn
|
@@ -17135,28 +17105,28 @@
-
- 4
+ |
+
|
-
- |
-
- 5
+ |
+
|
-
-
- +
- HttpHandlerFn
+
+
+
+
|
|
- 6
+ 4
|
@@ -17165,18 +17135,18 @@
|
-
- 7
+ |
+
|
-
-
+
+
- import { Observable } from 'rxjs';
+
|
|
- 8
+ 5
|
@@ -17186,7 +17156,7 @@
|
- 9
+ 6
|
@@ -17196,57 +17166,27 @@
|
- 10
+ 7
|
+
- export function authInterceptor(
+ export const authInterceptor: HttpInterceptorFn = (req, next) => {
|
- 11
+ 8
|
+
- req: HttpRequest<unknown>,
-
- |
-
-
- 12
- |
-
-
- +
- next: HttpHandlerFn
-
- |
-
-
- 13
- |
-
-
- +
- ): Observable<HttpEvent<unknown>> {
+ const authService = inject(AuthService);
|
- 14
- |
-
-
- +
- const authService = inject(AuthService);
-
- |
-
-
- 15
+ 9
|
@@ -17256,7 +17196,7 @@
|
- 16
+ 10
|
@@ -17266,7 +17206,7 @@
|
- 17
+ 11
|
@@ -17276,7 +17216,7 @@
|
- 18
+ 12
|
@@ -17286,7 +17226,7 @@
|
- 19
+ 13
|
@@ -17296,7 +17236,7 @@
|
- 20
+ 14
|
@@ -17306,7 +17246,7 @@
|
- 21
+ 15
|
@@ -17316,7 +17256,7 @@
|
- 22
+ 16
|
@@ -17326,7 +17266,7 @@
|
- 23
+ 17
|
@@ -17336,7 +17276,7 @@
|
- 24
+ 18
|
@@ -17346,7 +17286,7 @@
|
- 25
+ 19
|
@@ -17356,7 +17296,7 @@
|
- 26
+ 20
|
@@ -17366,7 +17306,7 @@
|
- 27
+ 21
|
@@ -17376,7 +17316,7 @@
|
- 28
+ 22
|
@@ -17536,7 +17476,7 @@
|
- 29
+ 23
|
@@ -17546,7 +17486,7 @@
|
- 30
+ 24
|
|