Command events fire a CommandEvent, however they are currently mapped to the basic Event interface.
Ref:
https://developer.mozilla.org/en-US/docs/Web/API/CommandEvent/command
At the moment, I need to assert or put a guard clause to get correct typing inside a command event handler. Please update the type mapping under GlobalEventHandlersEventMap.
Command events fire a
CommandEvent, however they are currently mapped to the basicEventinterface.Ref:
https://developer.mozilla.org/en-US/docs/Web/API/CommandEvent/command
At the moment, I need to assert or put a guard clause to get correct typing inside a command event handler. Please update the type mapping under
GlobalEventHandlersEventMap.