UNPKG

date-fns

Version:

Modern JavaScript date utility library

14 lines (13 loc) 485 B
import type { ContextFn, DateArg } from "../types.js"; export declare function normalizeDates( context: ContextFn<Date> | undefined, ...dates: [DateArg<Date>, DateArg<Date>, DateArg<Date>] ): [Date, Date, Date]; export declare function normalizeDates( context: ContextFn<Date> | undefined, ...dates: [DateArg<Date>, DateArg<Date>] ): [Date, Date]; export declare function normalizeDates( context: ContextFn<Date> | undefined, ...dates: Array<DateArg<Date> & {}> ): Date[];