TypeScript UNKNOWN and ANY types - Advanced TypeScript

preview_player
Показать описание
In this tutorial we will look at the #unknown and the #any types in #TypeScript ❤️

We will cover when you should use these types and their use cases in TypeScript and #JavaScript. We will also discuss how you can get the best #type #safety in your code without compromising the capabilities of your utility functions 🌹

🚥 Professional Courses

#basarat

👇 SUBSCRIBE for MORE 👇

**Feel Free To Read This Lot**

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

Microsoft MVP for TypeScript
Lead Frontend Practice at Australia Post
150K contributions on Stackoverflow. Top Contributor for TypeScript.
Book Author : Beginning NodeJS
Book Author : TypeScript Deep Dive
Creator of multiple hot ✨ed Github Open Source projects

Рекомендации по теме
Комментарии
Автор

That was a very good explanation. Clear and concise!! thank you!

ShaunMcCready
Автор

I love ❤️ TypeScript so much and you are a great ambassador for that language tanks for your valuable time and for the effort you put in these videos !!!

Luxcium
Автор

U have given a nice content
In simple words
Unknown type is equivalent to var in c#
Any is equivalent to dynamic

ajaykonda
Автор

Great video, hadn't used the unknown type before. Thanks Bas

NCmderShepard
Автор

these knowledge pills is so useful! Thanks for sharing!

nero
Автор

Thank you for this explanation! Helped me a lot.

maxandrade
Автор

dint cover the most common case for me if its object.. if you use typeof object it still says it object dont have properties you try to reach... painfull

unknowngits
Автор

Hi Basarat, are you interested for freelance hiring? Please let me know how to contact you in private

paltalkawy
Автор

unknown and any are "Advanced TypeScript" LMAO

EverRusting