You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Chektinchan I've spent some time learning more on a topic and I think the ts documentation nails my whole blog post in 2 senteces.
Type aliases and interfaces are very similar, and in many cases you can choose between them freely. Almost all features of an interface are available in type, the key distinction is that a type cannot be re-opened to add new properties vs an interface which is always extendable.
Types vs Interfaces in TypeScript | Edvins Antonovs
Learn key differences between types and interfaces in TypeScript
https://edvins.io/types-vs-interfaces-in-typescript
The text was updated successfully, but these errors were encountered: