Learn TypeScript

Head of Education at Scrimba. Passionate about learning.
About this course
This course introduces you to the essential building blocks of TypeScript through a hands-on approach—developing a simple pizza restaurant order fulfillment system. In this course, you’ll explore basic types, defining custom types, typing objects and arrays, optional properties, manual and implicit typing, literal types, unions and intersections, type narrowing, function return types, void and any, utility types (Partial and Omit), and generics.
What you'll learn
Introduction
6:09 - 1 lesson
Intro to Pizza app
10:08 - 1 lesson
Move code to TS
3:06 - 1 lesson
Defensive coding
4:34 - 1 lesson
Obligatory types basics lesson
3:50 - 1 lesson
Add type to orderId
1:23 - 1 lesson
Defining Custom Types
3:46 - 1 lesson
Adding a Pizza type
4:13 - 1 lesson
Nested object types
5:12 - 1 lesson
Optional properties
2:41 - 1 lesson
Adding an Order type
1:19 - 1 lesson
Typing arrays
4:37 - 1 lesson
Type orderQueue
4:10 - 1 lesson
Literal types
2:40 - 1 lesson
Unions
2:58 - 1 lesson
Update order status to use literal type unions
2:59 - 1 lesson
Add ids to pizzas
2:38 - 1 lesson
Type Narrowing
4:56 - 1 lesson
Be explicit whenever you can
2:11 - 1 lesson
Function return types
2:57 - 1 lesson
Void return type
1:55 - 1 lesson
TS-specific types: any
2:52 - 1 lesson
Add return type to getPizzaDetail
3:19 - 1 lesson
Add automatic ids to menu items
4:19 - 1 lesson
Utility Types & Partial
7:04 - 1 lesson
Omit Utility Type
7:00 - 1 lesson
Fix TS warnings with Omit
4:07 - 1 lesson
Generics
7:21 - 1 lesson
Generic functions in the pizza restaurant
3:23 - 1 lesson
Explicitly type generic function calls
4:22 - 1 lesson
Conclusion... for now
1:52 - 1 lesson
How to Utilize Your Certificate
0:56 - 1 lesson
Certificate of Completion
Certificate