Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DotenvConfigOptions interface missing new processEnv field #755

Closed
JstnMcBrd opened this issue Jun 17, 2023 · 3 comments
Closed

DotenvConfigOptions interface missing new processEnv field #755

JstnMcBrd opened this issue Jun 17, 2023 · 3 comments

Comments

@JstnMcBrd
Copy link

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

@motdotla
Copy link
Owner

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

@motdotla
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants