type-alias / @typed/router/Matcher

Matcher.MergeError

Unions the errors of a Matcher tuple.

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

Import

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

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

Signatures

type MergeError<Matchers extends ReadonlyArray<Matcher.Any>> = Error<Matchers[number]>;

Why

Merged route tables preserve all typed failures.

Ownership and lifetime

Computed only by TypeScript from the tuple; it allocates no merged runtime value.

Other public imports

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

Source