3 ms·
Not perfect, but you can use a validation library to explicitly pull in ENV variables and they will be typed. https://sergiodxa.com/articles/using-zod-to-safely
by s900mhz 3y ago
Not perfect, but you can use a validation library to explicitly pull in ENV variables and they will be typed.
https://sergiodxa.com/articles/using-zod-to-safely-read-env-variables https://sergiodxa.com/articles/using-zod-to-safely-read-env-...