Why use Type and not Interface in TypeScript
ByteGrad ByteGrad
122K subscribers
187,593 views
0

 Published On Jul 20, 2023

Why you may prefer Type over Interface in TypeScript...

Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship).
πŸ‘‰ Add authentication to your app FAST: https://bit.ly/3QOe1Bh

πŸ‘‰ NEW React & Next.js Course: https://bytegrad.com/courses/professi...
πŸ‘‰ Professional JavaScript Course: https://bytegrad.com/courses/professi...
πŸ‘‰ Professional CSS Course: https://bytegrad.com/courses/professi...

πŸ‘‰ Discord: all my courses have a private Discord where I actively participate
πŸ”” Email newsletter (BIG update soon): https://email.bytegrad.com

⏱️ Timestamps:
0:00 Type Alias vs Interface
2:05 Interface problem 1
3:15 Interface problem 2
4:05 Interface problem 3
5:39 Interface problem 4
6:49 Consideration
7:34 Interface problem 5
9:41 Interface problem 6
11:49 Classes
12:33 Best arguments!
12:47 Arguments pro interface

#typescript #typescripttutorial

show more

Share/Embed