Type alias ModelOnEventMap

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