jkbrzt / rrule

JavaScript library for working with recurrence rules for calendar dates as defined in the iCalendar RFC and more.
https://jkbrzt.github.io/rrule
Other
3.33k stars 511 forks source link

fix: Export RRule and RRuleSet as named exports #507

Closed vbudovski closed 2 years ago

vbudovski commented 2 years ago

Fixes #419 and #478.


Thanks for contributing to rrule!

To submit a pull request, please verify that you have done the following:

davidgoli commented 2 years ago

Thanks for contributing!

karlhorky commented 2 years ago

Thanks for this @vbudovski and @davidgoli !

This has unfortunately introduced a new bug with the TS types: https://github.com/jakubroztocil/rrule/issues/478#issuecomment-1148462507

Almost there for TS + ESM support!

Edit: Opened #511 for this