Skip to content

Commit 50163a1

Browse files
committed
update type file
1 parent 5c7d7f5 commit 50163a1

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

lib/main.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@ export interface DotenvConfigOptions {
5555
* example: `require('dotenv').config({ override: true })`
5656
*/
5757
override?: boolean;
58+
59+
/**
60+
* Default: `process.env`
61+
*
62+
* Override any environment variables that have already been set on your machine with values from your .env file.
63+
*
64+
* example: `const processEnv = {}; require('dotenv').config({ processEnv: processEnv })`
65+
*/
66+
processEnv?: DotenvPopulateInput;
5867
}
5968

6069
export interface DotenvConfigOutput {

0 commit comments

Comments
 (0)