type-alias / @typed/router/Matcher

Matcher.Any

A Matcher with intentionally widened success, error, and service channels.

Package version
1.0.0-beta.13
Category
Matcher contracts
Since
1.0.0
Member of
Matcher

Import

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

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

Signatures

type Any = Matcher<any, any, any> | Matcher<any, never, any> | Matcher<any, any, never> | Matcher<any, never, never>;

Why

Heterogeneous Matcher collections can be stored while public combinators recover precise unions.

Ownership and lifetime

Compile-time widening only; the concrete Matcher value remains immutable and acquires resources only when its Fx is run.

Other public imports

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

Source