toolmark-monorepo / @toolmark/inertia / RouteFn
Type Alias: RouteFn
RouteFn = (
params?) =>object
Defined in: packages/inertia/src/navigation.ts:8
A named route builder (Wayfinder- or Ziggy-style): returns the URL and HTTP method for the given parameters. It may throw (e.g. a missing parameter); the navigation tool refuses then.
Parameters
params?
Record<string, unknown>
Returns
object
method
method:
string
url
url:
string