michael-hack / bulma-calendar

Bulma's extension to display a calendar
MIT License
286 stars 165 forks source link

EventType doesn't include 'save' #334

Open bdueck-oftr opened 8 months ago

bdueck-oftr commented 8 months ago

Environment

Current Behavior Bulma Calendar EventType doesn't include the 'save' event even though this is documented as a valid event type. This causes ts syntax errors when subscribing to 'save' events (works functionally though).

Current definition:

type EventType = 'show' | 'hide' | 'select' | 'select:start';

Possible Solution Recommend this be changed to:

type EventType = 'show' | 'hide' | 'select' | 'select:start' | 'save';