interval
import { interval } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
function interval<DateType extends Date>(
start: DateType | number | string,
end: DateType | number | string,
options?: IntervalOptions,
): NormalizedInterval<DateType>;§
interval<DateType extends Date>(start: DateType | number | string, end: DateType | number | string, options?: IntervalOptions): NormalizedInterval<DateType>
[src]§Parameters
§
options?: IntervalOptions optional
[src]- The options object.
§Return Type
§
NormalizedInterval<DateType>
[src]The normalized and validated interval object.