* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
10
*
11
* @param date - The date to start counting from
12
*
13
* @returns The previous Saturday
14
*
15
* @example
16
* // When is the previous Saturday before Jun, 20, 2021?
17
* const result = previousSaturday(new Date(2021, 5, 20))