router
router copied to clipboard
negative value of number type key in search URL are transformed to string
Describe the bug
See this TSearch type definition: usersView?: { m?: number; }
This URL will reach expected result:
http://localhost:3000/abt_1593420797181?usersView=~(m~2)
m=2
(number) as expected
http://localhost:3000/abt_1593420797181?usersView=~(m~-7)
m="-7"
(string) not as expected or?
Thanks for any feedback.
Your Example Website or App
none
Steps to Reproduce the Bug or Issue
See bug descriptoin
Expected behavior
Keep type definition in TSearch for URL search results.
Screenshots or Videos
No response
Platform
- any
Additional context
No response