Closed AbdrrahimDahmani closed 1 year ago
Hello 👋 @AbdrrahimDahmani
Thank you for raising an issue. We will investigate into the issue and get back to you as soon as possible. Please make sure you have given us as much context as possible.
Feel free to raise a PR if you can fix the issue
We can add more types here like
But at the end, when you fetch cookie, it's always going to be string. Hence we recommend using string while storing as well
Is your feature request related to a problem? Please describe
When I try to store the quantity value (which is an integer) as a cookie in my angular app, I get an error that says :
Describe the solution you'd like
It would be perfect if you add an implicit conversion of type integer into string
Describe alternatives you've considered
Instead of automatically converting integers to strings, you can require developers to explicitly cast integers to strings when needed. This makes the code more explicit and can help avoid unexpected type conversions.
Additional context
No response