--- import { listYearsWithRanges } from "@utils/datetime"; import type { Props as BaseProps } from "../CopyrightNotice.astro"; interface Props extends BaseProps {} const { years, holders } = Astro.props; const firstYear = Math.min(...years); const lastYears = years.sort((a, b) => a - b).slice(1); ---