registration
This commit is contained in:
9
frontend/style/node_modules/date-fns/getOverlappingDaysInIntervals.d.ts
generated
vendored
9
frontend/style/node_modules/date-fns/getOverlappingDaysInIntervals.d.ts
generated
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user