Type Alias: PluginAutomationEventMap
PluginAutomationEventMap =
{ [K in PluginAutomationEventKind]: PluginAutomationEvent extends infer E ? E extends { kind: infer Kd } ? K extends Kd ? E : never : never : never }
PluginAutomationEventMap =
{ [K in PluginAutomationEventKind]: PluginAutomationEvent extends infer E ? E extends { kind: infer Kd } ? K extends Kd ? E : never : never : never }