TypeScript Developer

Case File: Trust Nothing

Types are erased before the code runs, so they cannot protect you from data that arrives from outside. Write a type guard that checks an unknown value and tells the compiler what it found, and a parser that returns a Parcel or null and never throws. Real TypeScript in strict mode, generated for you alone.

55 min

Case File: Trust Nothing

Types are erased before the code runs, so they cannot protect you from data that arrives from outside. Write a type guard that checks an unknown value and tells the compiler what it found, and a parser that returns a Parcel or null and never throws. Real TypeScript in strict mode, generated for you alone.

In this lesson:

  • typescript
  • unknown
  • type-guards
  • validation
  • json
  • runtime-checks
  • case-file

๐Ÿ”’ This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans