UNPKG

373 BTypeScriptView Raw
1import type { DateRange, DateLib } from "../types/index.js";
2/**
3 * Add a day to an existing range.
4 *
5 * The returned range takes in account the `undefined` values and if the added
6 * day is already present in the range.
7 *
8 * @group Utilities
9 */
10export declare function addToRange(date: Date, range: DateRange | undefined,
11/** @ignore */
12dateLib?: DateLib): DateRange;