Skip to content

Commit

Permalink
refactor: add missing return type to ConfigService.updateInterpolatedEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
foxadb committed Jan 11, 2025
1 parent dfc052f commit f0e0de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export class ConfigService<
return options && options?.infer && Object.keys(options).length === 1;
}

private updateInterpolatedEnv(propertyPath: string, value: string) {
private updateInterpolatedEnv(propertyPath: string, value: string): void {
let config: ReturnType<typeof dotenv.parse> = {};
for (const envFilePath of this.envFilePaths) {
if (fs.existsSync(envFilePath)) {
Expand Down

0 comments on commit f0e0de9

Please sign in to comment.