-
-
Notifications
You must be signed in to change notification settings - Fork 861
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
Bug: populate() is not a function #830
Comments
it probably just hasnt been added to the types file. dotenv has never been a typescript project. you can either define your own type in your project for it or if you have time a PR contribution to add it to the project's type file would be very welcome :) |
i've been using javascript, but I can try to look through the code and see how to fix it! (also thank you for your dotenv work! your work makes my life so much easier!!) |
Hi, I am a programmer trying to get into open-source contribution and wanted to chime in here. It seems like populate is already defined in the lib/main.d.ts types file:
Not sure if I'm looking in the right place, maybe it's a config issue on the user's end? |
When I use the populate function, my code returns the error: "TypeError: dotenv.populate is not a function".
My code:
Not sure what is wrong, hopefully its on my end!
The text was updated successfully, but these errors were encountered: