Interfaces or Type Aliases

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • easy
  • Pro

A code review asks why some object shapes in the project are interfaces and others are type aliases. Explain the differences, what each can do that the other can't, and what convention you'd suggest.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →