You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vitaly Tomilov edited this page Aug 10, 2019
·
13 revisions
Sometimes, when working with a long list of events, you may want 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.