Skip to content

Commit b0b4fc1

Browse files
Update content/techniques/configuration.md
Co-authored-by: John Biundo <[email protected]>
1 parent 09d3d8c commit b0b4fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ As shown above, use the `configService.get()` method to get a simple environment
153153
const dbHost = this.configService.get<string>('database.host', 'localhost');
154154
```
155155

156-
`ConfigService` has an optional generic to help prevent accessing a config property that does not exist.
156+
`ConfigService` has an optional generic to help prevent accessing a config property that does not exist. Use it as shown below:
157157

158158
```typescript
159159
interface EnvironmentVariables {

0 commit comments

Comments
 (0)