Skip to content

Commit

Permalink
refactor doc of populate() signature
Browse files Browse the repository at this point in the history
  • Loading branch information
vinh.nguyen committed Dec 30, 2023
1 parent 5d00dd9 commit 060db4f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/main.d.ts
Expand Up @@ -100,10 +100,6 @@ export interface DotenvPopulateOptions {
override?: boolean;
}

export interface DotenvPopulateOutput {
error?: Error;
}

export interface DotenvPopulateInput {
[name: string]: string;
}
Expand Down Expand Up @@ -141,7 +137,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 060db4f

Please sign in to comment.