Last active
June 23, 2022 07:27
-
-
Save cjfswd/560bc4839b09fa7eb3a1d94af49fdbdb to your computer and use it in GitHub Desktop.
typing environment variables at typescript project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare global { | |
namespace NodeJS { | |
interface ProcessEnv { | |
VARIABLE_NAME: string; | |
} | |
} | |
} | |
export { } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment