type-alias / @typed/router/Matcher

GuardServices

Extracts the Effect services required by a Guard.

Package version
1.0.0-beta.13
Category
Candidate guards
Since
1.0.0

Import

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

Signatures

export type GuardServices<G> = GuardType.Services<G>;

Why

Matcher requirements include the environment needed for candidate validation.

Ownership and lifetime

Computed only by TypeScript. The services are borrowed from the candidate’s merged Effect Context during guard evaluation.

Other public imports

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

Source