Question · JavaScript and TypeScript course · Module 6: TypeScript Basics

The strict Option in tsconfig

What does the 'strict: true' option in tsconfig.json do?

Answer options

  • Enables a set of strict type-checking rules (strictNullChecks, noImplicitAny, etc.)
  • Changes TypeScript syntax to be more strict
  • Prevents the use of the any type
  • Disables all type checks

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