MarzleyTech Learn

Home / Learn / TypeScript

TypeScript: free course

JavaScript with types: catch mistakes before your code runs. Used by most modern web apps built with React, Angular and Node.js.

7 lessons · free · no account needed · code examples, practice questions and videos

Start lesson 1 Open the interactive course Printable course notes

Lessons

  1. 1 TypeScript introduction: what it is, why teams use it, setup, basic types, type inference and compiling
  2. 2 Types, interfaces and functions: object types, optional and readonly properties, unions, narrowing, generics and utility types
  3. 3 Typed functions, optional and default parameters
  4. 4 Union types, literal types and narrowing
  5. 5 Generics and utility types
  6. 6 Classes, enums and organising a TypeScript project
  7. 7 TypeScript in real projects: classes, modules, async APIs, runtime validation, React and Node.js, tsconfig and migrating JavaScript