From 50163a1de9ae392fef03600350fef7d043e26361 Mon Sep 17 00:00:00 2001 From: Scott Motte Date: Sat, 17 Jun 2023 09:16:29 -0700 Subject: [PATCH] update type file --- lib/main.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/main.d.ts b/lib/main.d.ts index 015c1a98..7ac6efba 100644 --- a/lib/main.d.ts +++ b/lib/main.d.ts @@ -55,6 +55,15 @@ export interface DotenvConfigOptions { * example: `require('dotenv').config({ override: true })` */ override?: boolean; + + /** + * Default: `process.env` + * + * Override any environment variables that have already been set on your machine with values from your .env file. + * + * example: `const processEnv = {}; require('dotenv').config({ processEnv: processEnv })` + */ + processEnv?: DotenvPopulateInput; } export interface DotenvConfigOutput {