Skip to content

Commit 6bd670a

Browse files
micaleviskjmcdo29
andauthored
Update content/techniques/configuration.md
Co-authored-by: Jay McDoniel <[email protected]>
1 parent 0060e05 commit 6bd670a

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
@@ -250,7 +250,7 @@ The second generic relies on the first one, acting as a type assertion to get ri
250250
constructor(private configService: ConfigService<{ PORT: number }, true>) {
251251
// ^^^^
252252
const port = this.configService.get('PORT', { infer: true });
253-
// ^^^ The type of this will be 'number' thus you don't need TS type assertions anymore
253+
// ^^^ The type of port will be 'number' thus you don't need TS type assertions anymore
254254
}
255255
```
256256

0 commit comments

Comments
 (0)