0Pricing
TypeScript Academy · Lesson

What TypeScript Adds to JavaScript

Learn how TypeScript extends JavaScript with static types.

Welcome

TypeScript is a superset of JavaScript that adds static type annotations. In this lesson you'll learn exactly what TypeScript contributes on top of plain JavaScript.

TypeScript Is a Superset

Every valid JavaScript file is valid TypeScript. You can rename a .js file to .ts and it will compile. TypeScript only adds features on top — it never removes JavaScript syntax.

All lessons in this course

  1. JavaScript Pain Points: Runtime Bugs
  2. What TypeScript Adds to JavaScript
  3. Compiling TypeScript to JavaScript
  4. When to Use TypeScript in Your Projects
← Back to TypeScript Academy