TypeScript Configuration and Tooling

Understand tsconfig,build tools,and compiler options.

1. What is the default 'target' value in tsconfig.json if not specified in TypeScript 4.8+?
2. Which tsconfig option enables strict type-checking features like noImplicitAny, strictNullChecks, and others?
3. Which file is the primary configuration file for TypeScript projects?
4. Which tool allows running TypeScript files directly without prior compilation to JavaScript?
5. What is the file extension for TypeScript declaration files?
6. Which 'module' option in tsconfig.json is suitable for Node.js environments?
7. What does the 'outDir' option in tsconfig.json control?
8. Which tsconfig option prevents the compiler from generating output files?
9. Which tool is used to integrate ESLint with TypeScript?
10. What is the default module resolution strategy in TypeScript?
11. Which of the following are enabled when the 'strict' option is set to true in tsconfig.json? (Select all that apply)
12. Which tools are commonly used for formatting and linting TypeScript code? (Select all that apply)
13. Which tsconfig options affect module resolution? (Select all that apply)
14. Which are valid values for the 'target' option in tsconfig.json? (Select all that apply)
15. The 'include' option in tsconfig.json specifies files to exclude from compilation.
16. TypeScript declaration files (.d.ts) contain executable code.
17. tsc --watch recompiles TypeScript files automatically when changes are detected.
18. What command compiles a TypeScript project using tsconfig.json settings?
19. Name the popular formatter for consistent TypeScript code style (one word)
20. What is the abbreviation for the TypeScript compiler (three letters)
Answered 0 of 0 — 0 correct