Lesson overview · Free interview practice

Project Configuration

Master TypeScript configuration and tooling.

Topics in the full lesson
  • Introduction to Project Configuration
  • Understanding tsconfig.json
  • Common tsconfig.json Compiler Options
  • Advanced tsconfig.json Configuration
  • Integrating TypeScript with Build Tools
  • Integrating TypeScript with Webpack
  • Integrating TypeScript with Babel
  • Combining Webpack and Babel with TypeScript
  • Best Practices
  • Exercises

Practice Problems

Work through a question before revealing its explanation. These questions and answers are free; Premium adds the full lesson walkthrough, examples and implementation detail.

Completion marks record your own progress, not an automatically checked result. The task type does not determine whether it is optional.

TheoryEasy

Module Resolution and Path Aliases

Question

How does TypeScript resolve import paths, and how do you configure path aliases (@app/* style)?

Take a moment to think about this before revealing the answer

Explain your reasoning or try an implementation before comparing answers.

TheoryEasy

`tsconfig.json`: Structure and Key Options

Question

What is tsconfig.json, and what are the most important options every TypeScript project should set?

Take a moment to think about this before revealing the answer

Explain your reasoning or try an implementation before comparing answers.

TheoryMedium

TypeScript and Bundlers: The Modern Landscape

Question

How does TypeScript integrate with modern bundlers (Vite, esbuild, webpack, swc)? What's the canonical type-check + transpile split?

Take a moment to think about this before revealing the answer

Explain your reasoning or try an implementation before comparing answers.

TheoryMedium

Type-Checking Strategies: `ts-loader` vs Babel vs Separate `tsc`

Question

What's the difference in type-checking behavior between ts-loader, babel-loader + @babel/preset-typescript, and a separate tsc --noEmit step? Why does the separate-tsc approach dominate now?

Take a moment to think about this before revealing the answer

Explain your reasoning or try an implementation before comparing answers.

TheoryMedium

Strict Mode and Other Critical Flags

Question

How do you enable strict type-checking in TypeScript, and what other "should-be-default" flags should every modern project enable?

Take a moment to think about this before revealing the answer

Explain your reasoning or try an implementation before comparing answers.

Explore the full Project Configuration material

Premium includes the complete lessons and implementation references. Free practice questions remain available without a subscription.

All course tracks & premium content
From basics to advanced masterclasses
Built for JS/TS developers like you
Real-world tips & common pitfalls
Upgrade to Premium