Skip to content

Commit 823d0b8

Browse files
committedJan 18, 2024
Merge branch 'master' of github.com:motdotla/dotenv
2 parents 2cffe84 + 27e4c2b commit 823d0b8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed
 

‎lib/main.d.ts

+1-6
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export interface DotenvParseOutput {
1212
* See https://docs.dotenv.org
1313
*
1414
* @param src - contents to be parsed. example: `'DB_HOST=localhost'`
15-
* @param options - additional options. example: `{ debug: true }`
1615
* @returns an object with keys and values based on `src`. example: `{ DB_HOST : 'localhost' }`
1716
*/
1817
export function parse<T extends DotenvParseOutput = DotenvParseOutput>(
@@ -100,10 +99,6 @@ export interface DotenvPopulateOptions {
10099
override?: boolean;
101100
}
102101

103-
export interface DotenvPopulateOutput {
104-
error?: Error;
105-
}
106-
107102
export interface DotenvPopulateInput {
108103
[name: string]: string;
109104
}
@@ -141,7 +136,7 @@ export function configDotenv(options?: DotenvConfigOptions): DotenvConfigOutput;
141136
* @returns {void}
142137
*
143138
*/
144-
export function populate(processEnv: DotenvPopulateInput, parsed: DotenvPopulateInput, options?: DotenvConfigOptions): DotenvPopulateOutput;
139+
export function populate(processEnv: DotenvPopulateInput, parsed: DotenvPopulateInput, options?: DotenvConfigOptions): void;
145140

146141
/**
147142
* Decrypt ciphertext

0 commit comments

Comments
 (0)
Please sign in to comment.