Mastering TypeScript: Assert and Guard | packtpub.com

2,452 views · Published 5 January 2016 · 5:35 · Indexed 29 October 2026

Channel: Packt · 2016 · Science & Technology

Watch on YouTube

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

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

What is type assertion and type guarding and how can we use them appropriately? 
• Check a simple example showing type guarding and then type assertion 
• Look at the new syntax for type assertion 
• Discuss when we should use a type assertion and when we should use a type guard 



For the latest Web  Development video tutorials, please visit
http://bit.ly/1KYwKQ5


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

More from this channel