TypeScript · Junior · Question 47 of 75
What is tsconfig.json?
- ✓Correct answer: A file with compiler settings and the list of project files
- 2A file listing npm dependencies for TypeScript
- 3A file with types for all of the project's modules
Explanation
In compilerOptions you set target, module, strict, paths and so on, while include/exclude define which files belong to the project. Dependencies are described by package.json, and types by .d.ts files. Configs can be inherited via extends.