type-alias / @typed/router

Route.EncodingServices

Extracts services required to encode a Route’s parameters.

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

Import

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

Access Route.EncodingServices through the imported Route export. Its declaration below describes the member.

Signatures

type EncodingServices<T> = T extends Route<any, infer S> ? S["EncodingServices"] : never;

Why

Link builders can preserve schema encoding requirements in their Effect environment.

Ownership and lifetime

TypeScript computes EncodingServices from its Route input; the alias is erased and owns no runtime value.

Other public imports

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

Source