DEV Community

Discussion on: How To Do Anything in TypeScript With Type Guards

akirautio profile image
Aki Rautio

The typescript documentation isn't exactly the easiest to understand to get an overview so it's nice that you have summarized everything into one post. And I really like the examples because they show the uses cases very well.

camchenry profile image
Cameron McHenry Author • Edited on

Thank you for the kind words! I tried to pick examples that actually matched places where I've used these type guards in the real-world. I think that really helps emphasize when and where these should be used.

I plan to keep the original post (on my blog) updated as new TS releases come out as well!