The real power of typescript can be unleashed when you add type conditionals into the game.
Why? Because by using them, you can write real algorithms on the type-level.
Conditional Types allow you to use some powerful features like Pattern Matching and Type Inference.
That in combination with what you already know about basic types and utilities, can help you build some nice utility types like the one presented here that will help you to extract the query string part of an URL string.
Make sure to follow me on
Twitter: / matiasfha
TikTok: / matiasfha
And visit my site https://matiashernandez.dev to check more content