Skip to content

TypeScript for Beginners

For those who know JavaScript basics. Types and inference, unions and narrowing, object types and interfaces, functions, classes, generics, utility types, async code and setting up a project.

Free14 modules130 lessons≈ 6 h

The course has no coding exercises, so you need nothing installed to take it. To try the lesson examples, open them in the TypeScript Playground in your browser, or set up your computer in three steps.

  1. Try the Playground

    The TypeScript Playground checks your code as you type, shows the JavaScript the compiler writes from it and runs it. Strict mode is on there, as in the course.

  2. Install Node.js

    Pick the LTS version of Node.js, 22.18 or newer.

  3. Install TypeScript and VS Code

    The compiler tsc is what checks the types. The course uses TypeScript 7.

Syllabus