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

Learn TypeScript

Learn TypeScript with hands-on exercises covering types, interfaces, unions, narrowing, generics, utility types, and local tooling.

What you'll learn in this TypeScript course

Learn TypeScript from start to finish in this immersive, hands-on course. You'll build on your JavaScript knowledge while solving real-world type challenges that cover the language's fundamentals and more advanced features.

Chapter List

1
Types
Learn the basic types in TypeScript and the syntax for using them
2
Functions
Learn how to write type-safe functions with TypeScript's robust type system.
3
Unions
Learn how to declare and use union types in TypeScript to allow variables to hold multiple types
4
Arrays
Learn to work with typed arrays in TypeScript, including syntax, generics, unions and type inference
5
Objects
Learn how to work with object types in TypeScript
6
Tuples
Learn how to use tuples in TypeScript
7
Intersections
Learn the basics of intersections in TypeScript
8
Interfaces
Discover the core principles of interfaces in TypeScript
9
Enums
Practice using enums in TypeScript
10
Type Narrowing
Learn how TypeScript uses type narrowing to infer more about your code.
11
Classes
Learn about TypeScript's class features, including class syntax, access modifiers, inheritance, interfaces, and more.
12
Utility Types
Learn about some utility types that can come in handy in TypeScript.
13
Generics
Learn how to create reusable components with type parameters in TypeScript
14
Conditional Types
Learn how to create types that react dynamically to other types using TypeScript's powerful conditional type system.
15
Local Development
Learn how to set up and optimize your TypeScript development environment.

Join 18,076 students in the Learn TypeScript course

Read reviews of their learning experiences

Excellent course. What sets it apart is honesty: Lane doesn't just show you every TypeScript feature, he tells you which ones to avoid and why (enums, overloads, over-engineered generics). The progression from unions to narrowing to unknown to generics is very well built, and the tests that check your types with @ts-expect-error, not just your runtime output, are a great touch. Coming from years of production TS, I still learned a lot about the "why" behind things I used daily. The last chapter

(5/5)
Osean  profile image

Osean

Lausanne

It's awesome

(5/5)
Felix Angelo profile image

Felix Angelo

Philippines

Pretty cool intro to typescript and it even has a module on dev env and introduces you to vite (even though it is a bit short)

(5/5)
M R profile image

M R

Argentina

this was awesome! while i did already know quite a bit of javascript, this really helped when i transitioned to using typescript in my project. i would definitely recommend this.

(4/5)
Keyboard1000n17  profile image

Keyboard1000n17

Qatar

Chapters 13 and 14 were the hardest parts to get through. Learning TS coming from JS was very interesting.

(5/5)
Andrei Tudor Patru profile image

Andrei Tudor Patru

Bucharest, Romania

Good course, but lacked some explanation on how some things worked

(3/5)
Andrien Ricketts profile image

Andrien Ricketts

London, United Kingdom

its very long and its kinda tough/boring sometimes, but hey you got all you need to know about TS in one place

(3/5)
Isfar Ali profile image

Isfar Ali

Pakistan

This was a very extensive course filled with great information about how to read Types and what TS is really trying to work around.

(4/5)
Ryan Williams profile image

Ryan Williams

Copenhagen, Denmark

Less confusing than Go

(5/5)
Patrick  profile image

Patrick

United States

Showing 1-9 of 201

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes. TypeScript builds on JavaScript, so you should understand JavaScript fundamentals first. Boot.dev's Learn JavaScript course is the prerequisite for this course.