You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open to a PR for this, seems like it would only be making a interface for the dotenv that includes: load, config, and parse function types. Here is the type definitions
Objective: have a type for the full dotenv package when being used during dependency injection. Example is from a nestjs/node project.
Current Workaround:
constructor(private dotenvModule: typeof dotenv = dotenv) {}
Preferred:
consructor(private dotenvModule: dotenv) {}
The text was updated successfully, but these errors were encountered: