All Courses
beginner TypeScript

TypeScript: Typing JavaScript with Confidence

Master TypeScript from scratch — typing javascript with confidence.

46 lessons 8 available ~27 min total
Start the course

What you'll learn

By the end you can confidently apply TypeScript at a beginner level: typing javascript with confidence, with real, working code.

Who it's for

Developers learning TypeScript at a beginner level.

Prerequisites

Working JavaScript (ES6).

A structured, hands-on beginner course on TypeScript, taking you from scratch by building a fully-typed task API client.

Curriculum

  1. 1

    Setting Up the TypeScript Environment

    4 min
  2. 2

    Understanding tsconfig.json

    3 min
  3. 3

    Basic Primitives and Type Annotations

    4 min
  4. 4

    Type Inference in Practice

    3 min
  5. 5

    Defining Object Shapes with Interfaces

    3 min
  6. 6

    Using Type Aliases

    4 min
  7. 7

    Handling Optional Properties

    3 min
  8. 8

    Typing Function Parameters

    3 min
  9. 9

    Defining Function Return Types

    Coming soon
  10. 10

    Working with Arrays of Objects

    Coming soon
  11. 11

    Understanding Void and Undefined

    Coming soon
  12. 12

    Asynchronous Functions and Promises

    Coming soon
  13. 13

    Union Types for Flexibility

    Coming soon
  14. 14

    Literal Types for Status Codes

    Coming soon
  15. 15

    Type Narrowing with Conditionals

    Coming soon
  16. 16

    The Typeof Guard

    Coming soon
  17. 17

    The In Operator for Object Narrowing

    Coming soon
  18. 18

    Discriminated Unions

    Coming soon
  19. 19

    Any vs Unknown

    Coming soon
  20. 20

    Introduction to Generics

    Coming soon
  21. 21

    Generics with Interfaces

    Coming soon
  22. 22

    Constraining Generics

    Coming soon
  23. 23

    Using keyof for Dynamic Access

    Coming soon
  24. 24

    Indexed Access Types

    Coming soon
  25. 25

    Partial Utility Type

    Coming soon
  26. 26

    Pick and Omit Utilities

    Coming soon
  27. 27

    Type Assertions

    Coming soon
  28. 28

    Non-Null Assertion Operator

    Coming soon
  29. 29

    Building the Task API Client: Setup

    Coming soon
  30. 30

    Typing API Responses

    Coming soon
  31. 31

    Creating a Generic Request Wrapper

    Coming soon
  32. 32

    Handling API Errors

    Coming soon
  33. 33

    Query Parameters with Generics

    Coming soon
  34. 34

    Implementing GET Requests

    Coming soon
  35. 35

    Mapping API Data to Local Models

    Coming soon
  36. 36

    Using DefinitelyTyped

    Coming soon
  37. 37

    Type declaration files (.d.ts)

    Coming soon
  38. 38

    Enforcing Strict Null Checks

    Coming soon
  39. 39

    Exhaustive Switch Statements

    Coming soon
  40. 40

    Mapped Types

    Coming soon
  41. 41

    Conditional Types

    Coming soon
  42. 42

    Inferring Types in Conditionals

    Coming soon
  43. 43

    Final Refactoring of the Task Client

    Coming soon
  44. 44

    Testing Type-Safe Code

    Coming soon
  45. 45

    Managing Environment Variables with Types

    Coming soon
  46. 46

    Handling Deeply Nested Data

    Coming soon