We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
The text was updated successfully, but these errors were encountered:
Thank you. Repairing this now. The new DOTENV_KEY option is also missing from the type file.
DOTENV_KEY
Sorry, something went wrong.
A couple examples added here:
Released as 16.3.1
16.3.1
#756
https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md#1631-2023-06-17
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: