TypeScript is JavaScript with static type checking. You declare what types variables and functions expect, and TypeScript catches errors before you run the code.
let name: string = "Alice";
name = 42; // Error: Type 'number' is not assignable to 'string'
TypeScript compiles to plain JavaScript. Browsers and Node run the compiled output.