Learn TypeScript
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.

2.1 hrs
Content
About
Introduction
Intro to Pizza app
Move code to TS
Defensive coding
Obligatory types basics lesson
Add type to orderId
Defining Custom Types
Adding a Pizza type
Nested object types
Optional properties
Adding an Order type
Typing arrays
Type orderQueue
Literal types
Unions
Update order status to use literal type unions
Add ids to pizzas
Type Narrowing
Be explicit whenever you can
Function return types
Void return type
TS-specific types: any
Add return type to getPizzaDetail
Add automatic ids to menu items
Utility Types & Partial
Omit Utility Type
Fix TS warnings with Omit
Generics
Generic functions in the pizza restaurant
Explicitly type generic function calls
Conclusion... for now
How to Utilize Your Certificate
Certificate of Completion