Skip to content

Commit

Permalink
update type file
Browse files Browse the repository at this point in the history
  • Loading branch information
motdotla committed Jun 17, 2023
1 parent 5c7d7f5 commit 50163a1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/main.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 50163a1

Please sign in to comment.