Question · JavaScript and TypeScript course · Module 10: TypeScript in Practice

Typing Environment Variables

What type do process.env variables have by default in TypeScript?

Answer options

  • string
  • string | undefined
  • any
  • unknown

You can check the correct answer by solving this task in the CodeWorlds game.