Courses / TypeScript
1. tsconfig.json (basic)
What tsconfig.json is and how to create a minimal configuration for gradual TypeScript adoption.
JavaScript / TypeScript
tsconfig.json (basic)
A tsconfig.json file tells the TypeScript compiler which files to check and which options to use when compiling.
"I want to add TypeScript checks to parts of my JavaScript project without rewriting everything at once."
tsconfig.json is a JSON file that configures the TypeScript compiler (tsc): which files to include/exclude and compiler options; a minimal file can enable gradual adoption by only turning on basic checks and allowing JS files.
"I want to add TypeScript checks to parts of my JavaScript project without rewriting everything at once."
tsconfig.json is a JSON file that configures the TypeScript compiler (tsc): which files to include/exclude and compiler options; a minimal file can enable gradual adoption by only turning on basic checks and allowing JS files.