TypeScript — Beginner
TypeScript — Types That Protect Paid Work: 6 topics and 27 interactive cards with runnable examples and quizzes.
Topics
- Why TypeScript Is Worth Your Time — The Bug the Client Finds First · TypeScript Is a Checker, Not a Runtime · Pin the Version: 5.9.3, Never latest · Check Yourself
- The Types You Will Use Every Day — Let the Compiler Infer · Arrays and Objects · Union Types Close the Door · Literal Types Are Cheap Validation · Predict the Error
- Describing Your Data Once — interface: One Shape, Reused Everywhere · type vs interface · Optional and readonly · Check Yourself
- Functions That State Their Terms — Parameters and Return Types · Optional and Default Parameters · The Invoice Total · Fix the Bug
- The Holes in the Fence — any Turns the Checker Off · unknown Makes You Prove It · strict Is Where the Value Is · Data From Outside Is Never Typed · Check Yourself
- The Project You Set Up On Every Job — Three Files and a Build · What Each tsconfig Line Buys You · The Four Commands · Reading the Compiler's Complaints · What to Show a Client