Click in order · JavaScript and React course · Module 12: React and TypeScript

Extending Interfaces (extends)

Arrange the syntax for extending an interface in TypeScript:

Items to click

  • interface
  • SpaceObject
  • extends
  • Planet
  • { radius: number; }

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