Type Alias ModelOnEventMap

ModelOnEventMap: {
    [eventName in ModelEvent["type"]]: Extract<ModelEvent, {
        type: eventName;
    }>
}