* @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).
16
* @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
17
*
18
* @param date - The date to start counting from
19
* @param options - An object with options
20
*
21
* @returns The next Tuesday
22
*
23
* @example
24
* // When is the next Tuesday after Mar, 22, 2020?
25
* const result = nextTuesday(new Date(2020, 2, 22))