Interface RouterOptions<R, C>

{@inheritDoc "".ResolverOptions}

interface RouterOptions<R, C> {
    baseUrl?: string;
    context?: RouteContext<ActionValue, RouteExtension<R, C>, ContextExtension<R, C>>;
    errorHandler?: ErrorHandlerCallback<ActionValue>;
    resolveRoute?: ResolveRouteCallback<ActionValue, RouteExtension<R, C>, ContextExtension<R, C>>;
}

Type Parameters

  • R extends object = EmptyObject
  • C extends object = EmptyObject

Properties

baseUrl?: string
context?: RouteContext<ActionValue, RouteExtension<R, C>, ContextExtension<R, C>>
resolveRoute?: ResolveRouteCallback<ActionValue, RouteExtension<R, C>, ContextExtension<R, C>>