Type Alias ResolveRouteCallback<T, R, C>

ResolveRouteCallback<T, R, C>: ((context: RouteContext<T, R, C>) => MaybePromise<ActionResult<T | RouteContext<T, R, C>>>)

A callback function that resolves a route. It is used as a fallback in case the route is not correctly resolved.

Type Parameters

  • T
  • R extends object
  • C extends object