TypeScript Master (50 Qs)•Part 1: Basic & Foundational TypeScript (Junior / Entry-Level)
What are the essential flags in `tsconfig.json`?
junior LevelTypeScript
In Simple Words:
"strict": true: Enables all strict type-checking options (the single most important flag)."target": "ES2022": Target ECMAScript version for output JS."module": "NodeNext": Module system for code generation."noImplicitAny": true: Raises an error on any variable whose type defaults toany."strictNullChecks": true: Prevents assigningnullorundefinedto types unless explicitly declared in a union (string | null)."noUncheckedIndexedAccess": true: Treats array indexing (arr[0]) asT | undefinedinstead of assuming the element exists.