@yesstudio/nuxt-composables
    Preparing search index...

    Interface RouteLocationNormalizedTyped<RouteMap, Name>

    Helper to generate a type safe version of the RouteLocationNormalized type.

    interface RouteLocationNormalizedTyped<
        RouteMap extends RouteMapGeneric = RouteMapGeneric,
        Name extends keyof RouteMap = keyof RouteMap,
    > {
        fullPath: string;
        hash: string;
        matched: RouteRecordNormalized[];
        meta: RouteMeta;
        name: Extract<Name, string | symbol>;
        params: RouteMap[Name]["params"];
        path: string;
        query: LocationQuery;
        redirectedFrom: RouteLocationGeneric | undefined;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    fullPath: string

    The whole location including the search and hash. This string is percentage encoded.

    hash: string

    Hash of the current location. If present, starts with a #.

    meta: RouteMeta

    Merged meta properties from all the matched route records.

    name: Extract<Name, string | symbol>

    Name of the matched record

    params: RouteMap[Name]["params"]

    Object of decoded params extracted from the path.

    path: string

    Percentage encoded pathname section of the URL.

    Object representation of the search property of the current location.

    redirectedFrom: RouteLocationGeneric | undefined

    Contains the location we were initially trying to access before ending up on the current location.