Skip to content

Commit 52a6384

Browse files
committed
docs(interceptors): correct 'type' to 'class'
1 parent 849c565 commit 52a6384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/interceptors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Before...
9898
After... 1ms
9999
```
100100

101-
Note that we passed the `LoggingInterceptor` type (instead of an instance), leaving responsibility for instantiation to the framework and enabling dependency injection. As with pipes, guards, and exception filters, we can also pass an in-place instance:
101+
Note that we passed the `LoggingInterceptor` class (instead of an instance), leaving responsibility for instantiation to the framework and enabling dependency injection. As with pipes, guards, and exception filters, we can also pass an in-place instance:
102102

103103
```typescript
104104
@@filename(cats.controller)

0 commit comments

Comments
 (0)