WTF are Type Predicates in Typescript?
Have you ever been curious about what Type Predicates are in TypeScript? In this episode, I'll show you how to use Type Predicates for type narrowing. L earn about the pros and cons of using Type Predicates, but most important, let's review the big RISK of using predicates for type narrowing and how you can LIE to Typescript Link to the article: https://egghead.io/blog/3-effective-type-narrowing-techniques-in-typescript Make sure to follow me on Twitter: https://twitter.com/matiasfha TikTok: https://www.tiktok.com/@matiasfha Youtube: https://youtube.com/@matiasfha And visit my site https://matiashernandez.dev to check more content