interface / @typed/vue

RouteOptions

Options for decoding a route relative to an explicit or inherited structural mount.

Package version
1.0.0-beta.13
Category
interface

Import

import { RouteOptions } from "@typed/vue";

Signatures

export interface RouteOptions<Rt extends Route.Any, ER = never> extends ReactiveOptions<Option.Option<Route.Type<Rt>>, RouteNotFound | RouteDecodeError | RouteGuardError, Router | Route.Route.DecodingServices<Rt>, ER> {
    readonly currentRoute?: MaybeRefOrGetter<CurrentRouteTree>;
}

Property: currentRoute

Replaces the ambient mount; None is local to this root and outside it is RouteNotFound.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source