Reference

RouteParamsFor

Extracts dynamic and catch-all params from an app route path pattern.

Signature

type RouteParamsFor = Simplify<ExtractRouteParams<Path>>