Parse URL Params
@typehero
Last updated 3 months ago
MEDIUM
You're required to implement a type-level parser to parse URL params string into an Union.
ParseUrlParams<':id'> // id ParseUrlParams<'posts/:id'> // id ParseUrlParams<'posts/:id/:user'> // id | user
This challenge was ported from Type Challenges and was authored by andersonjoseph
More Challenges
Loading...
Loading...