From 5596a7921cf49d2b412b111571abfa1cdc4eff40 Mon Sep 17 00:00:00 2001 From: Eric Morand Date: Wed, 12 May 2021 14:27:41 +0200 Subject: [PATCH] Resolve issue #530 --- types/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index 8bc51a9c..6a9a49b7 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -19,10 +19,10 @@ export interface DotenvParseOutput { * @param options - additional options * @returns an object with keys and values based on `src` */ -export function parse( +export function parse( src: string | Buffer, options?: DotenvParseOptions -): DotenvParseOutput; +): T; export interface DotenvConfigOptions { /**