We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Learn TypeScript

Welcome to "Learn TypeScript"! In this course, you'll learn how to use TypeScript to add static typing to JavaScript.

Learning Goals

  • Learn TypeScript's type system and how it builds on JavaScript
  • Understand best practices for writing clean, type-safe code
  • Learn about generics, interfaces, unions, and other advanced type features
  • Master real-world TypeScript patterns used in production codebases

Prerequisites

This course assumes you're already familiar with JavaScript. If you're not, start with our Learn JavaScript course first.

Assignment

During this course, we'll be building parts of a make-believe software project: Support.ai! A startup that builds LLM-powered chatbots for automating customer support.

Notice the : string annotation on the bootupMessage variable? That's TypeScript telling the compiler, "this variable holds a string".

Edit the code to print starting server... to the console instead of edit me.