Skip to content

Commit 6c737bf

Browse files
Update configuration.md
1 parent 05af486 commit 6c737bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/techniques/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,10 @@ interface EnvironmentVariables {
163163

164164
// somewhere in the code
165165
constructor(private configService: ConfigService<EnvironmentVariables>) {
166-
// This is valid
166+
// this is valid
167167
const port = this.configService.get<number>('PORT');
168168

169-
// This is invalid as URL is not a property on the EnvironmentVariables interface
169+
// this is invalid as URL is not a property on the EnvironmentVariables interface
170170
const url = this.configService.get<string>('URL');
171171
}
172172
```

0 commit comments

Comments
 (0)