Currently, rrule.before(...) and rrule.after(...) declare their return type as Date, which is inaccurate. #462 partially addressed this, but it doesn't look like the author is responding to the review request.
This PR simply declares the return type for before and after to be Date | null.
Currently,
rrule.before(...)
andrrule.after(...)
declare their return type asDate
, which is inaccurate. #462 partially addressed this, but it doesn't look like the author is responding to the review request.This PR simply declares the return type for
before
andafter
to beDate | null
.