In a previous video (the part 1 of this series) we started the implementation of a (naive) query string parser using type level programming combining Conditional Types, Pattern Matching and Type Inference.
This video is a continuation of that work moving forward wit the goal of parsing a string literal that represents a url string with a query string into a object type with the key-value pairs extracted from the query string.
In this part of the work we implement a new generic utility type that extract the key-value pairs from the query string subset creating a union of all of them using recursive type application.
Make sure to follow me on
Twitter: / matiasfha
TikTok: / matiasfha
And visit my site https://matiashernandez.dev to check more content