Setting up TypeScript with Node

Create a Node project, add the typescript package and a tsconfig.json, then run .ts files with node and check their types with npx tsc --noEmit. Node runs TypeScript by ignoring the types; only tsc checks them.

Updated

Cheat sheet: Setting up TypeScript with Node
Category
TypeScript
Level
Novice
Tags
npm (nodejs), package.json (nodejs), strict Mode (typescript), tsc, tsconfig.json, typescript