Wes Bos (@wesbosarrow-up-right) - October 26, 2022 at 9:16 PM
🔥 You can create a Type Guard in TypeScript by using the is keyword in a functions return type. pic.twitter.com/SM1Dghwg7Farrow-up-right
is
https://user-images.githubusercontent.com/870029/209562348-b6f47031-ab84-48bd-a694-f68dd916d7e5.mp4
Download mp4arrow-up-right
Tweet linkarrow-up-right
Thread by @wesbos on Threadify Reader Apparrow-up-right
Last updated 3 years ago