Question · JavaScript and TypeScript course · Module 6: TypeScript Basics
The target Option in tsconfig
What does the 'target' option in tsconfig.json specify?
Answer options
- The target browser in which the code will run
- The ECMAScript version that TypeScript will be compiled to (e.g., ES5, ES2016)
- The target platform (Windows, Linux, macOS)
- The target output directory for compiled files
You can check the correct answer by solving this task in the CodeWorlds game.