Intermediate 12 planned topics Full Stack
Introduction to TypeScript
Learn TypeScript types, interfaces, and safer JavaScript. Free TypeScript introduction for JS developers.
Learning Outcomes
- Annotate functions and objects
- Use interfaces and union types
- Read compiler errors and fix them
- Explain why TypeScript is erased at runtime
Overview
TypeScript adds a type system on top of JavaScript so many bugs are caught before the browser runs the code.
This page introduces primitive types, interfaces, unions, and how tsc emits plain JS.
Interviews often ask structural typing and the difference between interface and type.
What this course will cover
- 1. Basic types
- 2. Interfaces
- 3. Unions
- 4. Generics intro
- 5. tsconfig
- 6. JS interop
Start a complete tutorial now
Full 6-level lessons are live for C, C++, Java, Python, and JavaScript. Use them while the remaining TypeScript lessons are added.