lastDayOfISOWeekYear
import { lastDayOfISOWeekYear } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
@example
// The last day of an ISO week-numbering year for 2 July 2005:
const result = lastDayOfISOWeekYear(new Date(2005, 6, 2))
//=> Sun Jan 01 2006 00:00:00
function lastDayOfISOWeekYear<DateType extends Date>(date: DateType | number | string): DateType;