TypeScript

Fork

Forking needs an account. Create one.

engineering · 33 units · 33 lessons

  1. 1. What TypeScript Is & Why It Exists

  2. 2. Primitive Types: string, number, boolean

  3. 3. Arrays and Tuples

  4. 4. any, unknown, void, and never

  5. 5. null, undefined & strictNullChecks

  6. 6. How Inference Works

  7. 7. Literal Types and Widening

  8. 8. const Assertions and as const

  9. 9. Type Assertions with as

  10. 10. Contextual Typing

  11. 11. Object Type Annotations

  12. 12. Interfaces

  13. 13. Optional & readonly Properties

  14. 14. Interface vs Type Alias

  15. 15. Extending Interfaces & Intersection Types

  16. 16. Index Signatures

  17. 17. Union Types

  18. 18. Literal Union Types

  19. 19. Narrowing with typeof, in & truthiness

  20. 20. Discriminated Unions

  21. 21. Custom Type Guards & Predicates

  22. 22. Exhaustiveness Checking with never

  23. 23. Typing Function Parameters & Returns

  24. 24. Optional, Default & Rest Parameters

  25. 25. Function Type Expressions & Call Signatures

  26. 26. Function Overloads

  27. 27. Typing this in Functions

  28. 28. Built-in Utility Types

  29. 29. Mapped Types

  30. 30. Conditional Types & infer

  31. 31. Template Literal Types

  32. 32. Declaration Files (.d.ts)

  33. 33. Configuring tsconfig.json