November 2019
Beginner
804 pages
20h 1m
English
Interfaces are more powerful than type aliases since they can be extended using the extends keyword.
In general, our advice is to prefer interfaces over type aliases. Although using the type keyword, you can sometimes create useful composed types.
Similarly, you should generally prefer interfaces and keep inline types for exceptional cases (for example, one-time needs).
Read now
Unlock full access