Skip to content

Commit 97852fc

Browse files
committed
docs(terminus): add missing imports
1 parent 00e58a8 commit 97852fc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/recipes/terminus.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,8 @@ The last required step is to add the now available health indicator in the requi
483483

484484
```typescript
485485
@@filename(health.controller)
486-
import { HealthCheckService } from '@nestjs/terminus';
487-
import { Injectable } from '@nestjs/common';
486+
import { HealthCheckService, HealthCheck } from '@nestjs/terminus';
487+
import { Injectable, Get } from '@nestjs/common';
488488
import { DogHealthIndicator } from './dog.health';
489489

490490
@Injectable()
@@ -503,8 +503,8 @@ export class HealthController {
503503
}
504504
}
505505
@@switch
506-
import { HealthCheckService } from '@nestjs/terminus';
507-
import { Injectable } from '@nestjs/common';
506+
import { HealthCheckService, HealthCheck } from '@nestjs/terminus';
507+
import { Injectable, Get } from '@nestjs/common';
508508
import { DogHealthIndicator } from './dog.health';
509509

510510
@Injectable()

0 commit comments

Comments
 (0)