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
{{ message }}
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.
One of the biggest annoyances with node apps is that you don't actually know what ENV variables you need to define, which have defaults, what the options are, etc. A lot of the time you typecast without assertions, etc.
Will provide a more in-depth solution with types in a comment. Theres absolutely no reason for this to be a closure/react hook form other than consistency
The text was updated successfully, but these errors were encountered:
One of the biggest annoyances with node apps is that you don't actually know what ENV variables you need to define, which have defaults, what the options are, etc. A lot of the time you typecast without assertions, etc.
I found this library: https://github.com/af/envalid which I think we can incorporate into light.
Instead of doing:
we can do something like this:
Will provide a more in-depth solution with types in a comment. Theres absolutely no reason for this to be a closure/react hook form other than consistency
The text was updated successfully, but these errors were encountered: