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 a76ff24 commit 83974afCopy full SHA for 83974af
lib/config.service.ts
@@ -89,7 +89,7 @@ export class ConfigService<
89
propertyPath: P,
90
defaultValue: NoInferType<R>,
91
options: ConfigGetOptions,
92
- ): R;
+ ): Exclude<R, undefined>;
93
/**
94
* Get a configuration value (either custom configuration or process environment variable)
95
* based on property path (you can use dot notation to traverse nested object, e.g. "database.host").
0 commit comments