Skip to content

Commit

Permalink
Merge branch 'master' of github.com:motdotla/dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
motdotla committed Jan 18, 2024
2 parents 2cffe84 + 27e4c2b commit 823d0b8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/main.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export interface DotenvParseOutput {
* See https://docs.dotenv.org
*
* @param src - contents to be parsed. example: `'DB_HOST=localhost'`
* @param options - additional options. example: `{ debug: true }`
* @returns an object with keys and values based on `src`. example: `{ DB_HOST : 'localhost' }`
*/
export function parse<T extends DotenvParseOutput = DotenvParseOutput>(
Expand Down Expand Up @@ -100,10 +99,6 @@ export interface DotenvPopulateOptions {
override?: boolean;
}

export interface DotenvPopulateOutput {
error?: Error;
}

export interface DotenvPopulateInput {
[name: string]: string;
}
Expand Down Expand Up @@ -141,7 +136,7 @@ export function configDotenv(options?: DotenvConfigOptions): DotenvConfigOutput;
* @returns {void}
*
*/
export function populate(processEnv: DotenvPopulateInput, parsed: DotenvPopulateInput, options?: DotenvConfigOptions): DotenvPopulateOutput;
export function populate(processEnv: DotenvPopulateInput, parsed: DotenvPopulateInput, options?: DotenvConfigOptions): void;

/**
* Decrypt ciphertext
Expand Down

0 comments on commit 823d0b8

Please sign in to comment.