tighten / ziggy

Use your Laravel routes in JavaScript.
MIT License
3.83k stars 247 forks source link

fix route().params type #743

Closed peter-emad99 closed 4 months ago

peter-emad99 commented 4 months ago

As mentioned in docs route().params will always return the params as string value

bakerkretzmar commented 4 months ago

I can't tell what actually changed here, can you revert your formatting changes so the diff only contains the fix you're suggesting? Thanks.

peter-emad99 commented 4 months ago

sorry for confusion .. just changed the route params type from unknow to string

bakerkretzmar commented 4 months ago

Thanks!