diff --git a/packages/@internationalized/date/src/queries.ts b/packages/@internationalized/date/src/queries.ts index 2172fd2def3..1a50aab51e1 100644 --- a/packages/@internationalized/date/src/queries.ts +++ b/packages/@internationalized/date/src/queries.ts @@ -194,6 +194,7 @@ export function startOfWeek(date: DateValue, locale: string): DateValue { export function endOfWeek(date: ZonedDateTime, locale: string): ZonedDateTime; export function endOfWeek(date: CalendarDateTime, locale: string): CalendarDateTime; export function endOfWeek(date: CalendarDate, locale: string): CalendarDate; +export function endOfWeek(date: DateValue, locale: string): DateValue; export function endOfWeek(date: DateValue, locale: string): DateValue { return startOfWeek(date, locale).add({days: 6}); }