TypeScript Simplified: [ Ссылка ]
The TypeScript documentation is definitely not as good as it could be, but one thing that blows my mind is their recommendation of using interfaces over types. Types are more powerful in nearly every way which is why I love them and in this video I explain all the differences between types and interfaces and why you should probably be using types.
📚 Materials/References:
TypeScript Simplified: [ Ссылка ]
🌎 Find Me Here:
My Blog: [ Ссылка ]
My Courses: [ Ссылка ]
Patreon: [ Ссылка ]
Twitter: [ Ссылка ]
Discord: [ Ссылка ]
GitHub: [ Ссылка ]
CodePen: [ Ссылка ]
⏱️ Timestamps:
00:00 - Introduction
00:40 - Which is best
01:20 - Creating types/interfaces
02:10 - Reason #1
03:26 - Reason #2
05:14 - Interface myth
05:48 - Interface benefit #1
#TypeVsInterface #WDS #TypeScript
Ещё видео!