Skip to content

Event List

Vitaly Tomilov edited this page Aug 10, 2019 · 13 revisions

When working with a long list of events, you may decide to access them by name. Modern TypeScript lets you do this, while still controlling the event type, with the help of keyof, as shown in the example below.

Clone this wiki locally