AutoBE
    Preparing search index...
    Mapper: { [E in AutoBeEvent as E["type"]]: E }

    Type mapping interface that associates event type strings with their corresponding event object types.

    This mapping provides a type-safe way to access specific event types by their string identifiers, enabling generic event handling patterns and type-safe event subscription mechanisms. Each key represents an event type string, and each value represents the complete event object type for that event.

    The mapper is particularly useful for implementing event handlers that need to process different event types with full type safety, allowing TypeScript to provide accurate autocompletion and type checking for event-specific properties and methods.

    Example usage patterns include event router implementations, type-safe event subscription systems, and generic event processing utilities that maintain compile-time type safety across different event types.