motdotla/dotenv

DotenvConfigOptions interface missing new processEnv field

JstnMcBrd opened this issue · 3 comments

TypeScript gives the following error when trying to use the new processEnv option:
image

I believe this is because the interface for DotenvConfigOptions in main.d.ts does not include the processEnv field yet.

Until this is fixed, simply asserting the type is a valid workaround.
image

Thank you. Repairing this now. The new DOTENV_KEY option is also missing from the type file.