Official documentation
Where to read more: the TypeScript Handbook, the TSConfig reference, and MDN / Node.js for the JavaScript underneath.
Runs in Zerethon IDE · TypeScript 7
Official TypeScript documentation ↗
The Handbook explains the type system step by step. Because TypeScript runs as JavaScript, MDN and the Node.js docs describe everything that happens at run time.