Skip to content

Commit 790bc77

Browse files
authored
docs: drop readonly
1 parent a450c98 commit 790bc77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/task-scheduling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ The `@nestjs/schedule` module provides a dynamic API that enables managing decla
225225
Obtain a reference to a `CronJob` instance by name from anywhere in your code using the `SchedulerRegistry` API. First, inject `SchedulerRegistry` using standard constructor injection:
226226

227227
```typescript
228-
constructor(private readonly schedulerRegistry: SchedulerRegistry) {}
228+
constructor(private schedulerRegistry: SchedulerRegistry) {}
229229
```
230230

231231
> info **Hint** Import the `SchedulerRegistry` from the `@nestjs/schedule` package.

0 commit comments

Comments
 (0)