Utility type for inferring type of event handler args.
const handler = new EventHandler<{ param: string }>();const args: GetEventHandlerArgs<typeof handler>; // { param: string } Copy
const handler = new EventHandler<{ param: string }>();const args: GetEventHandlerArgs<typeof handler>; // { param: string }
Utility type for inferring type of event handler args.