Extract event names from an EventTypes record whose payload extends the given shape.
Eliminates the need for each plugin to define its own mapped filter type.
Type Parameters
ETextendsRecord<string,any>
Payload
Example
interfaceMyEventData { entityId: number } typeMyEventName<ET> = EventNameMatching<ET, MyEventData>;
Extract event names from an EventTypes record whose payload extends the given shape. Eliminates the need for each plugin to define its own mapped filter type.