DEV Community

Discussion on: 5 useful TypeScript tricks

Collapse
 
naderalfakesh profile image
Nader Alfakesh

Hi Basile thanks for sharing.
Can you explain the firsr example a little more.
It is very interesting.
Best regards..

Collapse
 
basilebong profile image
Basile Bong

Hi Nader,
I created a new post to make the concept of User-Defined Type Guards (showed in the first example) easier to understand. Let me know if you have any questions.