registration
This commit is contained in:
11
frontend/style/node_modules/date-fns/areIntervalsOverlapping.d.ts
generated
vendored
11
frontend/style/node_modules/date-fns/areIntervalsOverlapping.d.ts
generated
vendored
@@ -1,8 +1,8 @@
|
||||
import type { Interval } from "./types.js";
|
||||
import type { ContextOptions, Interval } from "./types.js";
|
||||
/**
|
||||
* The {@link areIntervalsOverlapping} function options.
|
||||
*/
|
||||
export interface AreIntervalsOverlappingOptions {
|
||||
export interface AreIntervalsOverlappingOptions extends ContextOptions<Date> {
|
||||
/** Whether the comparison is inclusive or not */
|
||||
inclusive?: boolean;
|
||||
}
|
||||
@@ -48,13 +48,6 @@ export interface AreIntervalsOverlappingOptions {
|
||||
* // Using the inclusive option:
|
||||
* areIntervalsOverlapping(
|
||||
* { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) },
|
||||
* { start: new Date(2014, 0, 20), end: new Date(2014, 0, 24) }
|
||||
* )
|
||||
* //=> false
|
||||
*
|
||||
* @example
|
||||
* areIntervalsOverlapping(
|
||||
* { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) },
|
||||
* { start: new Date(2014, 0, 20), end: new Date(2014, 0, 24) },
|
||||
* { inclusive: true }
|
||||
* )
|
||||
|
||||
Reference in New Issue
Block a user