Answers for "auto complete of process.env in typescript"

0

auto complete of process.env in typescript

//install @types.node
//create environment.d.ts in root directory
declare global{
  namespace NodeJs{
  interface ProcessEnv{
    PORT:string
  }
}
}

export {}
Posted by: Guest on October-08-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language