Import
import { EventHandlerTypeId } from "@typed/template/EventHandler";Signatures
export declare const EventHandlerTypeId: unique symbol;export type EventHandlerTypeId = typeof EventHandlerTypeId;Why
A stable nominal key makes the runtime guard precise without depending on browser event object shape.
Ownership and lifetime
The symbol is process-global metadata. It allocates no listener or resource.
Examples
import { EventHandlerTypeId } from "@typed/template/EventHandler"
const key = EventHandlerTypeIdimport { EventHandlerTypeId, type EventHandlerTypeId as Id } from "@typed/template/EventHandler"
const id: Id = EventHandlerTypeIdOther public imports
These import paths expose the same declaration. Each page retains its own public name and signature.