type-alias / @typed/router/Matcher

Matcher.MergeSuccess

Unions the success outputs 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.MergeSuccess through the imported Matcher export. Its declaration below describes the member.

Signatures

type MergeSuccess<Matchers extends ReadonlyArray<Matcher.Any>> = Success<Matchers[number]>;

Why

Merged route tables preserve every possible selected output.

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