function defaultimport { default } from "https://dotland.deno.dev/x/date_fns@v2.22.1/setDate/index.ts"; default(dirtyDate: Date | number, dirtyDayOfMonth: number): DateExamples// Set the 30th day of the month to 1 September 2014: var result = setDate(new Date(2014, 8, 1), 30) //=> Tue Sep 30 2014 00:00:00 ParametersdirtyDate: Date | number the date to be changed dirtyDayOfMonth: number the day of the month of the new date ReturnsDatethe new date with the day of the month set