We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05af486 commit 6c737bfCopy full SHA for 6c737bf
content/techniques/configuration.md
@@ -163,10 +163,10 @@ interface EnvironmentVariables {
163
164
// somewhere in the code
165
constructor(private configService: ConfigService<EnvironmentVariables>) {
166
- // This is valid
+ // this is valid
167
const port = this.configService.get<number>('PORT');
168
169
- // This is invalid as URL is not a property on the EnvironmentVariables interface
+ // this is invalid as URL is not a property on the EnvironmentVariables interface
170
const url = this.configService.get<string>('URL');
171
}
172
```
0 commit comments