TypeScript TYPES vs INTERFACES (Key Differences)

Published: 20 September 2020
on channel: basarat
97,749
1.1k

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

In this TypeScript tutorial 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 🌹.

🚥 Professional Courses
https://www.booleanart.com/

Additional Resources
Conditional Types:    • TypeScript Conditional Types // Probably T...  

Community thoughts :   / 1260691305291591685  

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

👇 SUBSCRIBE for MORE 👇
https://www.youtube.com/basaratali?su...

*Feel Free To Read This Lot*

I'm Basarat, That TypeScript Guy and I love helping developers. More about me:

Microsoft MVP for TypeScript
Creator https://designtsx.com
150K contributions on Stackoverflow. Top Contributor for TypeScript.
Book Author : Beginning NodeJS
Book Author : TypeScript Deep Dive
Egghead Instructor : https://egghead.io/instructors/basara...
Creator of multiple hot ✨ed Github Open Source projects

Follow me on twitter:   / basarat  
Follow me on github: https://github.com/basarat
Donate: https://www.paypal.me/basaratali

Website: https://basarat.com/


On this page of the site you can watch the video online TypeScript TYPES vs INTERFACES (Key Differences) with a duration of hours minute second in good quality, which was uploaded by the user basarat 20 September 2020, share the link with friends and acquaintances, this video has already been watched 97,749 times on youtube and it was liked by 1.1 thousand viewers. Enjoy your viewing!