subDays
import { subDays } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
@example
// Subtract 10 days from 1 September 2014:
const result = subDays(new Date(2014, 8, 1), 10)
//=> Fri Aug 22 2014 00:00:00
function subDays<DateType extends Date>(date: DateType | number | string, amount: number): DateType;