type-alias / @typed/router/Matcher

Matcher.MergeServices

Unions the required services of a Matcher tuple.

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

Import

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

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

Signatures

type MergeServices<Matchers extends ReadonlyArray<Matcher.Any>> = Services<Matchers[number]>;

Why

Merged route tables retain the requirements of every case family.

Ownership and lifetime

Computed only by TypeScript from the tuple; the runtime environments remain those supplied when the merged Matcher runs.

Other public imports

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

Source