Optional vs Undefined // Advanced TypeScript

Описание к видео Optional vs Undefined // Advanced TypeScript

A common TypeScript question is, Is there a difference between an optional member vs a union with undefined.

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

And the answer is yes, there is a behaviour difference between the two is what we will cover in this lesson along with guidance on when to use which syntax 🌹

Additional Resources
JavaScript !! vs Boolean:    • Boolean Conversion in JavaScript // B...  
Final Code on Github: https://github.com/basarat/demo-optio...

🏷 #basarat #5MinutesOrLess #TypeScript #JavaScript #Tutorial #AdvancedTypeScript

👇 ❤️ Subscribe for MOORE ❤️ 👇
https://www.youtube.com/basaratali?su...

*Feel Free To Read This Lot*

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

Microsoft MVP for TypeScript
200K contributions on Stackoverflow. Top Contributor for TypeScript.
Udemy Courses: https://www.udemy.com/user/basaratali...
Creator https://designtsx.com
Book Author: Beginning NodeJS
Book Author: TypeScript Deep Dive
Egghead Instructor: https://egghead.io/q/resources-by-bas...
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
Content Creation Kit (Camera / Lens etc.): https://kit.co/basarat/content-creation
Join to support the channel:    / basaratali  

Website: https://basarat.com/

Комментарии

Информация по комментариям в разработке