We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8dc2e71 + 5596a79 commit a558363Copy full SHA for a558363
types/index.d.ts
@@ -19,10 +19,10 @@ export interface DotenvParseOutput {
19
* @param options - additional options
20
* @returns an object with keys and values based on `src`
21
*/
22
-export function parse(
+export function parse<T extends DotenvParseOutput = DotenvParseOutput>(
23
src: string | Buffer,
24
options?: DotenvParseOptions
25
-): DotenvParseOutput;
+): T;
26
27
export interface DotenvConfigOptions {
28
/**
0 commit comments