Loading topic
tsconfig.json and run tsc with npm or npx.3 min readtsc, read tsconfig.json, and understand basic TypeScript types. You will measure a build before changing configuration or rewriting types. A measurement gives you a reference point and helps identify which compiler phase is slow.2 min readtsc from the command line and understand tsconfig.json, interfaces, generics, and union types. This chapter focuses on the program: the complete set of source files and declaration files that TypeScript loads for one compilation.3 min readtsconfig.json, and running tsc with npx. This chapter focuses on one targeted optimization: reducing checking time spent in declaration files.3 min readtsconfig.json and run tsc with npm or npx.3 min readtsconfig.json, npm, and tsc.2 min readtsc, read tsconfig.json, and use TypeScript generics and union types. This chapter shows how to record the compiler's work when a normal timing summary is not enough.3 min readtsc, read tsconfig.json, and understand TypeScript interfaces, generics, and union types. You should also know how to generate a compiler trace with --generateTrace.2 min readtsconfig.json, and running tsc. This chapter focuses on the checker phase, where TypeScript compares types, expands generic types, and evaluates conditional types.2 min readtsc and read a tsconfig.json. This chapter focuses on type shapes that make the checker repeat work.2 min readtsconfig.json, and run tsc with npm or npx. This chapter focuses on a different problem from a slow build: the command-line compiler may finish quickly while autocomplete, navigation, or diagnostics lag in the editor.3 min readtsconfig.json, npm, and the tsc command. This chapter shows how to prove that a type-checking change helped and how to stop the problem from returning.3 min read