Put in order · JavaScript and React course · Module 12: React and TypeScript
Union Type Definition
Arrange the syntax for defining a union type from three interfaces:
Items to put in order
- Asteroid;
- Star |
- type SpaceObject =
- Planet |
You can check the correct answer by solving this task in the CodeWorlds game.