Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript declare process.env

declare namespace NodeJS {  export interface ProcessEnv {    HOST: string;    DB_URL: string;    DB_NAME?: string;  }}
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #typescript #declare
ADD COMMENT
Topic
Name
9+3 =