Getting started
This part of the TypeScript course starts with what the language adds to JavaScript and with the machine it runs on: Node.js, the typescript package from npm, a first hello.ts compiled with tsc, and the tsconfig.json that keeps strict on from the first file.
01
What is TypeScript and where it runs
static types over JavaScript, the compiler that checks them, and where the output runs
Open
02
Install TypeScript
install Node, add TypeScript with npm, check the version, generate a starter tsconfig
Open
03
Your first program
hello.ts compiled with tsc, the output run with node, and the first compiler error decoded
Open
04
tsconfig.json
generate tsconfig.json, pick target and module, switch strict on, choose the files
Open