TypeScript Programming
A lightweight execution-visualization book.
Foundations
Hello TypeScript
Variables and Types
Arrays
Control Flow
Data Types
Primitive Types
Template Strings
Object Shapes
Union Narrowing
Functions
Function Basics
Return Values
Default Parameters
Callbacks
Objects and Interfaces
Interfaces
Optional Properties
Readonly Properties
Record Lookup
Arrays and Tuples
Array Methods
Tuples
Destructuring
Readonly Arrays
Classes
Class Basics
Constructors
Access Modifiers
Implementing Interfaces
Inheritance and Polymorphism
Inheritance Basics
Method Overriding
Protected Members
Abstract Classes
Generics
Generic Functions
Generic Interfaces
Generic Constraints
Keyof and Indexed Access
Advanced Type Patterns
Type Aliases and Literal Unions
Intersection Types
Discriminated Unions
Utility Types
Async Programming
Promise Basics
Async and Await
Async Error Handling
Promise All
Standard Library Utilities
Map
Set
JSON Data
Date Formatting
Error Handling and Validation
Throw and Catch
Custom Error Classes
Result-Style Unions
Guard Clauses