kerimdzhanov / dotenv-flow

Loads environment variables from .env.[development|test|production][.local] files for Node.js® projects.
MIT License
859 stars 36 forks source link

feat(dotenv-flow): add type definitions #77

Closed kerimdzhanov closed 12 months ago

kerimdzhanov commented 12 months ago

This PR adds typings for better support of typescript and improved code completion.

BREAKING CHANGE: new type definitions do replace the @types/dotenv-flow package but might be conflicting. The recommendation is to remove @types/dotenv-flow from dependencies if using dotenv-flow v4 or above.

kerimdzhanov commented 12 months ago

Initially suggested by @falkenhawk 👍