File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
### Guards
2
2
3
- A guard is a class annotated with the ` @Injectable() ` decorator. Guards should implement the ` CanActivate ` interface.
3
+ A guard is a class annotated with the ` @Injectable() ` decorator, which implements the ` CanActivate ` interface.
4
4
5
5
<figure ><img src =" /assets/Guards_1.png " /></figure >
6
6
Original file line number Diff line number Diff line change 1
1
### Interceptors
2
2
3
- An interceptor is a class annotated with the ` @Injectable() ` decorator. Interceptors should implement the ` NestInterceptor ` interface.
3
+ An interceptor is a class annotated with the ` @Injectable() ` decorator, which implements the ` NestInterceptor ` interface.
4
4
5
5
<figure ><img src =" /assets/Interceptors_1.png " /></figure >
6
6
Original file line number Diff line number Diff line change 1
1
### Pipes
2
2
3
- A pipe is a class annotated with the ` @Injectable() ` decorator. Pipes should implement the ` PipeTransform ` interface.
3
+ A pipe is a class annotated with the ` @Injectable() ` decorator, which implements the ` PipeTransform ` interface.
4
4
5
5
<figure >
6
6
<img src =" /assets/Pipe_1.png " />
You can’t perform that action at this time.
0 commit comments