@bodil/core - v0.4.8
    Preparing search index...

    Type Alias ExtractEventMap<T>

    ExtractEventMap: T extends DeclareEvents<infer Events>
        ? Events
        : { [key: string]: Event }

    Get the Events type associated with a type that extends DeclareEvents<Events>.

    A type that doesn't extend DeclareEvents resolves to an object which will accept all string keys.

    Type Parameters

    • T