* @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).
14
*
15
* @param date - The date to start counting from
16
*
17
* @returns The previous Wednesday
18
*
19
* @example
20
* // When is the previous Wednesday before Jun, 18, 2021?
21
* const result = previousWednesday(new Date(2021, 5, 18))