liveBook · Manning

Tsconfig.json

tsconfig.json is a TypeScript project configuration file specifying compiler options, source files, type libraries, and related compilation settings.

How 2 Manning books explain it

Essential TypeScript 5, Third Edition

A tsconfig.json file is a TypeScript project configuration file that specifies settings used by the TypeScript compiler.

How it is used
Configures how tsc selects TypeScript files and generates JavaScript for a project.
How deep it goes
Explains core options, file-selection controls, and inspection with --listFiles; introduces specialized settings through project configurations.
Examples
Shows src-to-dist configurations, tsc and Node.js commands, a Node16 module setup, and Angular compiler settings.
What you can do after
Operate/configure it to separate source from output, choose compilation settings, and inspect selected files with tsc --listFiles.

Read how Essential TypeScript 5, Third Edition explains tsconfig.json →

Secrets of the JavaScript Ninja, Third Edition

A JSON configuration file that specifies TypeScript compiler inputs, type libraries, checking settings, emission behavior, and the target ECMAScript version.

How it is used
Configures which TypeScript files the compiler checks and compiles, available types, checking strictness, JavaScript emission, and ECMAScript target.
How deep it goes
Defines key compiler settings and demonstrates starter generation and default compilation, while deferring comprehensive option guidance.
Examples
Uses generated compiler defaults, a faulty setTimeout call, and JavaScript checked with @ts-check.
What you can do after
Operate/configure a TypeScript project by generating tsconfig.json and running tsc to check and emit included files.

Read how Secrets of the JavaScript Ninja, Third Edition explains tsconfig.json →

Also covered in

What to know first

Related concepts

Questions about tsconfig.json

What is tsconfig.json?

tsconfig.json is a TypeScript project configuration file specifying compiler options, source files, type libraries, and related compilation settings.

Which Manning books explain tsconfig.json?

Essential TypeScript 5, Third Edition and Secrets of the JavaScript Ninja, Third Edition.

What should I know before learning tsconfig.json?

Manning books that teach tsconfig.json usually introduce package first.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.