type-alias / @typed/router/Uri

Uri.Any

A Uri whose component literal types are intentionally widened.

Package version
1.0.0-beta.7
Category
URI type inference
Since
1.0.0
Member of
Uri

Import

import { Uri } from "@typed/router/Uri";

Access Uri.Any through the imported Uri export. Its declaration below describes the member.

Signatures

type Any = Uri<string, string, string, string, number | "", string, string, string>;

Why

Generic URI utilities can constrain shape without claiming a specific parsed literal.

Ownership and lifetime

The Any component is carried only as a type argument on Uri; no runtime field or resource exists.

Source