Closed JstnMcBrd closed 1 year ago
TypeScript gives the following error when trying to use the new processEnv option:
processEnv
I believe this is because the interface for DotenvConfigOptions in main.d.ts does not include the processEnv field yet.
DotenvConfigOptions
Until this is fixed, simply asserting the type is a valid workaround.
Thank you. Repairing this now. The new DOTENV_KEY option is also missing from the type file.
DOTENV_KEY
A couple examples added here:
Released as 16.3.1
16.3.1
https://github.com/motdotla/dotenv/pull/756
https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md#1631-2023-06-17
TypeScript gives the following error when trying to use the new
processEnv
option:I believe this is because the interface for
DotenvConfigOptions
in main.d.ts does not include theprocessEnv
field yet.Until this is fixed, simply asserting the type is a valid workaround.