chihab / dotenv-run

Seamlessly load environment variables. Supports cli, esbuild, rollup, vite, webpack, angular. ESM and Monorepos.
241 stars 17 forks source link

fix: improve globally-declared env typing #10

Closed chernodub closed 2 years ago

chernodub commented 2 years ago

Resolves #8 by specifying the typing of NodeJS.ProcessEnv using TS' merge declarations. Please let me know if more clarifications are needed. Thanks! 🙂