tighten / ziggy

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

Export Helper type to get the parameters type of specific route #745

Open peter-emad99 opened 4 months ago

peter-emad99 commented 4 months ago

i think we could use this type RouteParams<N> = KnownRouteParamsObject<RouteList[N]> to achieve this