Interval
import type { Interval } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
An object that combines two dates to represent the time interval.
interface Interval <DateType extends Date = Date> {
end: DateType | number | string;
start: DateType | number | string;
}