Skip to content

Glossary: TypeScript Basics

KeyboardEvent

Also written: PointerEvent, Event

The types of event objects handed to callbacks: a `"keydown"` event is a `KeyboardEvent` with a `key` property, and a `"click"` event is a `PointerEvent`.

Where the book teaches it

Related terms

eventcontextual typing