BeginnerLesson 18 of 1830 min 路 hands-on
tsconfig and the Compiler
Part of the TypeScript course
tsconfig.json is the file the TypeScript compiler reads to figure out what to compile and how. There are over a hundred options, but a real project uses maybe a dozen. This lesson covers the dozen, plus the rules of thumb for picking values that age well.
When you run tsc with no arguments, it looks for a tsconfig.json starting from the current directory and walking up. Once it finds one, it compiles every .ts file it can reach according to the rules in that file. ...
Want to learn TypeScript tsconfig and the Compiler in a real environment?
Click below, get a fresh Linux box with TypeScript ready to go, and work through tsconfig and the Compiler hands-on with an AI tutor that knows your code.
Start this lessontsconfig and the CompilerWhat you'll learn
- Tsconfig.json
- Strict mode
- Target and lib
- Module and moduleResolution
- OutDir and rootDir
- Incremental and watch
- Project references (mention)
Read this lesson in your language
All lessons in this course
18 lessons- 1Hello, TypeScript20 min
- 2Type Basics25 min
- 3Arrays and Tuples25 min
- 4Object Types and Interfaces25 min
- 5Functions25 min
- 6Union and Literal Types25 min
- 7Type Narrowing30 min
- 8Type Aliases vs Interfaces20 min
- 9Optional, Readonly, and Nullable25 min
- 10Enums20 min
- 11Generics30 min
- 12Classes25 min
- 13Inheritance and Abstract Classes25 min
- 14Modules25 min
- 15Utility Types30 min
- 16Mapped and Conditional Types30 min
- 17Declaration Files and Libraries25 min
- 18tsconfig and the Compiler30 min
Explore other courses
Python
19 lessons 路 9.3h
Go
20 lessons 路 12.3h
React
17 lessons 路 10.2h
Linux
17 lessons 路 8.5h
Docker
13 lessons 路 6.6h
Git
13 lessons 路 5.9h
Kubernetes
14 lessons 路 8h
Ansible
12 lessons 路 6.1h
Bash
12 lessons 路 5.7h
Helm
10 lessons 路 5.4h
GitLab CI
11 lessons 路 5.8h
Jenkins
11 lessons 路 5.3h
PostgreSQL
14 lessons 路 7.6h
MySQL
13 lessons 路 6.8h
Web
14 lessons 路 5.9h
Vibe Coding
12 lessons 路 5.8h
Prompt Engineering
11 lessons 路 6.2h
Vibe Coding: Fundamentals
12 lessons 路 4.5h
Vibe Coding: Prototype to Production
12 lessons 路 5.5h
Vibe Coding: Multi-Agent Engineering
12 lessons 路 5.3h
Vibe Coding: Advanced Engineering
12 lessons 路 7.3h
