Put in order · JavaScript and TypeScript course · Module 7: Advanced TypeScript

Discriminated Union Syntax

Arrange the elements of a discriminated union type:

Items to put in order

  • MedicalAlert
  • |
  • type ParkAlert =
  • ;
  • SecurityAlert

You can check the correct answer by solving this task in the CodeWorlds game.