Closed AntoineKM closed 2 months ago
Super thank you, do you think you would be able to add something to the README as well just to explain that arrays are supported? Glad you are able to make good use of the lib :)
Of course, it should be good now 😁
Perfect, will release this now. thanks so much for the contribution!
What did I change? I've separated ParamValue and QueryValue, which can be an array.
We can now do:
And typescript will throw an error if used this way:
Why did I change it? This package is great, but it's true that query params can be arrays, and it can be interesting in some cases to be able to benefit from these advantages.