TypeScript has two ways of declaring structures of your objects in the form of types (type aliases) and interfaces.

In this lesson we will look at the technical differences between these two, when you should use which, along with real world TypeScript code analysis, and community thoughts 🌹.

Analyse codebases: https://github.com/basarat/types-vs-interfaces

#typescript #javascript #web-development

TypeScript TYPES vs INTERFACES
2.10 GEEK