I am now using a framework (vite) that injects environment variables into import.meta.env.
import.meta.env
I was previously able to create a file env.d.ts to pr
env.d.ts