Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Experimental typed URLSearchParamsString #8

Merged
merged 4 commits into from
Aug 28, 2024

Conversation

eliassjogreen
Copy link
Member

You are in for a ride.

This PR implements a fully typed URLSearchParamsString which validates URLSearchParams strings. I recommend the comments in urlsearchparams.ts if you want to understand more of this black magic!

To enable it for your projects use the --experimental-urlsearchparams flag.

Partially solves #3 but I still have lots of ideas on how to do that more efficiently at compile time instead.

@eliassjogreen eliassjogreen merged commit 21a74e2 into main Aug 28, 2024
4 checks passed
@eliassjogreen eliassjogreen deleted the feat/typed-urlsearchparams branch August 28, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant