PathParameters type
Helper type used to detect parameters in a path template text surrounded by {} will be considered a path parameter
type PathParameters<TRoute> = TRoute extends Object
? [pathParameter, pathParameters]
: Object