TypeScript is a superset of JavaScript that adds type syntax to help catch errors early during development and keeps safeguards up as a project scales.
TypeScript allows you to define datatypes for variables and interfaces for objects to check your code for errors during compilation.
You can leverage the type syntax to help TypeScript work as a linter to catch errors while you're working.
The article explains with code samples how TypeScript can be used in projects and what development teams need to install it.
You can customize TypeScript through the tsconfig.json file which allows you to specify the files to include in the compilation process.
Some popular TypeScript compiler options include allowJs, esModuleInterop, target, strict that help work with TypeScript and JavaScript in the same repository.
TSConfig cheat sheet is also recommended in order to have a better understanding of TSConfig before implementing any of the options.