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