Import
import { EventHandler } from "@typed/template";Access EventHandler.Services through the imported EventHandler export. Its declaration below describes the member.
This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export type Services<T> = T extends EventHandler<infer _Ev, infer _E, infer R> ? R : never;Why
Template inference uses this helper to preserve the handler’s R channel.
Ownership and lifetime
This is a compile-time projection and acquires no services.
Examples
import type { EventHandler, Services } from "@typed/template/EventHandler"
type Requirements = Services<EventHandler<MouseEvent, never, Console>>Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.