Learn TypeScript - Full Course for Beginners

Learn TypeScript - Full Course for Beginners

freeCodeCamp.org via freeCodeCamp Direct link

Generics

28 of 31

28 of 31

Generics

Class Central Classrooms beta

YouTube playlists 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. 1 Introduction
  2. 2 Intro to Pizza app
  3. 3 Move code to TS
  4. 4 Defensive coding
  5. 5 Obligatory types basics lesson
  6. 6 Add type to orderId
  7. 7 Defining Custom Types
  8. 8 Adding a Pizza type
  9. 9 Nested object types
  10. 10 Optional properties
  11. 11 Adding an Order type
  12. 12 Typing arrays
  13. 13 Type orderQueue
  14. 14 Literal types
  15. 15 Unions
  16. 16 Update order status to use literal type unions
  17. 17 Add ids to pizzas
  18. 18 Type Narrowing
  19. 19 Be explicit whenever you can
  20. 20 Function return types
  21. 21 TS-specific types: any
  22. 22 Add return type to getPizzaDetail
  23. 23 Void return type
  24. 24 Add automatic ids to menu items
  25. 25 Utility Types & Partial
  26. 26 Omit Utility Type
  27. 27 Fix TS warnings with Omit
  28. 28 Generics
  29. 29 Generic functions in the pizza restaurant
  30. 30 Explicitly type generic function calls
  31. 31 Conclusion... for now

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.