Skip to content

Commit 8929a67

Browse files
Merge pull request #2755 from hiphapis/add_Dependencies
docs(terminus): added `import { Dependencies }` for TypeScript
2 parents 443311a + ad81271 commit 8929a67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/recipes/terminus.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class HealthController {
8888
}
8989
}
9090
@@switch
91-
import { Controller, Get } from '@nestjs/common';
91+
import { Controller, Dependencies, Get } from '@nestjs/common';
9292
import { HealthCheckService, HttpHealthIndicator, HealthCheck } from '@nestjs/terminus';
9393

9494
@Controller('health')
@@ -484,7 +484,7 @@ The last required step is to add the now available health indicator in the requi
484484
```typescript
485485
@@filename(health.controller)
486486
import { HealthCheckService, HealthCheck } from '@nestjs/terminus';
487-
import { Injectable, Get } from '@nestjs/common';
487+
import { Injectable, Dependencies, Get } from '@nestjs/common';
488488
import { DogHealthIndicator } from './dog.health';
489489

490490
@Injectable()

0 commit comments

Comments
 (0)