Completed
Type Narrowing
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Learn TypeScript - Full Course for Beginners
Automatically move to the next video in the Classroom when playback concludes
- 1 Introduction
- 2 Intro to Pizza app
- 3 Move code to TS
- 4 Defensive coding
- 5 Obligatory types basics lesson
- 6 Add type to orderId
- 7 Defining Custom Types
- 8 Adding a Pizza type
- 9 Nested object types
- 10 Optional properties
- 11 Adding an Order type
- 12 Typing arrays
- 13 Type orderQueue
- 14 Literal types
- 15 Unions
- 16 Update order status to use literal type unions
- 17 Add ids to pizzas
- 18 Type Narrowing
- 19 Be explicit whenever you can
- 20 Function return types
- 21 TS-specific types: any
- 22 Add return type to getPizzaDetail
- 23 Void return type
- 24 Add automatic ids to menu items
- 25 Utility Types & Partial
- 26 Omit Utility Type
- 27 Fix TS warnings with Omit
- 28 Generics
- 29 Generic functions in the pizza restaurant
- 30 Explicitly type generic function calls
- 31 Conclusion... for now