Mastering TypeScript: Avoiding the any Type | packtpub.com

182 views · Published 9 January 2018 · 5:02 · Indexed 23 September 2026

Channel: Packt · 2018 · Science & Technology

Watch on YouTube

This playlist/video has been uploaded for Marketing purposes and contains only selective videos. 

For the entire video course and code, visit [http://bit.ly/2qH7HBH].

The any type should be avoided. This video will explain why it should be avoided. 
• Avoid it to prevent mistakes 
• Use union types instead of using any where applicable 
• Use type guards to separate the types out of a union type 

 

For the latest Application Development tutorials, please visit
http://bit.ly/1VACBzh

Find us on Facebook -- http://www.facebook.com/Packtvideo
Follow us on Twitter - http://www.twitter.com/packtvideo

More from this channel