registration

This commit is contained in:
User
2025-02-02 16:08:03 +03:00
parent 7f6495eb4d
commit 78afbaed71
6334 changed files with 196774 additions and 165754 deletions

View File

@@ -12,10 +12,9 @@ import type { Interval } from "./types.js";
* Two equal 0-length intervals will result in 0. Two equal 1ms intervals will
* result in 1.
*
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
*
* @param intervalLeft - The first interval to compare.
* @param intervalRight - The second interval to compare.
* @param options - An object with options
*
* @returns The number of days that overlap in two time intervals
*
@@ -35,7 +34,7 @@ import type { Interval } from "./types.js";
* )
* //=> 0
*/
export declare function getOverlappingDaysInIntervals<DateType extends Date>(
intervalLeft: Interval<DateType>,
intervalRight: Interval<DateType>,
export declare function getOverlappingDaysInIntervals(
intervalLeft: Interval,
intervalRight: Interval,
): number;