Skip to content

Commit e72a87f

Browse files
authored
docs(guards): update text about value provided
1 parent c2d66ee commit e72a87f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/guards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class CatsController {}
9898

9999
> info **Hint** The `@UseGuards()` decorator is imported from the `@nestjs/common` package.
100100
101-
Above, we passed the `RolesGuard` type (instead of an instance), leaving responsibility for instantiation to the framework and enabling dependency injection. As with pipes and exception filters, we can also pass an in-place instance:
101+
Above, we passed the `RolesGuard` class (instead of an instance), leaving responsibility for instantiation to the framework and enabling dependency injection. As with pipes and exception filters, we can also pass an in-place instance:
102102

103103
```typescript
104104
@@filename()

0 commit comments

Comments
 (0)