type-alias / @typed/router/Router

Router

The service requirements shared by every Typed router runtime.

Package version
1.0.0-beta.7
Category
Router requirements
Since
1.0.0

Import

import type { Router } from "@typed/router/Router";

Signatures

export type Router = CurrentRoute | Navigation;

Why

Matching requires both a live Navigation backend and a stable CurrentRoute mount boundary.

Ownership and lifetime

This union is type-only. The selected provider Layer owns both services and their scopes.

Other public imports

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

Source