
Lesson 06 · 8 min
type vs interface
Almost the same thing. The difference is in a couple of cases, not in religion.
Both describe the shape of an object. In an app, pick one and don't mix them without a reason. The Handbook puts them side by side: Type Aliases and Interfaces. Below is the actual difference, not a matter of taste.
Sign in to continue
The rest of this lesson opens after sign up
The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.