Closed TristanJM closed 5 years ago
add
moment.range()
diff
duration
rounded
precise
DateRange
constructor
Date
Moment
interval
unit
by
reverseBy
snapTo
3.3.3333
2
intersect
DateRange | null
DateRange | undefined
toDate()
[4.0.2]
Added
add
methodmoment.range()
without argumentsChanged
diff
&duration
fromrounded
toprecise
to reflect the underlying moment methodmoment.range()
&DateRange
constructor
types to allow mixedDate
&Moment
parametersinterval
/unit
flow parameter types in theby
,diff
,duration
,reverseBy
&snapTo
to include all strings allowed by moment3.3.3333
2
Fixed
add
andintersect
toDateRange | null
as opposed toDateRange | undefined
toDate()
method return type from an array ofDate
s to aDate
tuple