vapor-chamber API reference - v1.16.0
    Preparing search index...

    Type Alias RouteLocationRaw<TName>

    RouteLocationRaw:
        | string
        | {
            name?: TName;
            path?: string;
            params?: RouteParams;
            query?: QueryPatch;
            hash?: string;
            replace?: boolean;
        }

    Target of a programmatic navigation. TName narrows name to the generated route-name union (AdminRouteName) when the router is created as createRouter<AdminRouteName>(…) — typos become compile errors.

    Type Parameters

    • TName extends string = string