You are reading the docs for 0.9. The latest version is 0.10. Read this page for 0.10 →

EmptyEventMap

type
types.ts:2078

The event map a spec contributes when it declares none.

Record<never, never> rather than {}: the bare empty-object type accepts any non-nullish value, including 0 and "", so it would let nonsense through Merge. This has no keys, which is the actual claim being made, and Merge short-circuits on it.

Definition

type
type EmptyEventMap = Record<never, never>

Record<never, never>