endOfTomorrow.d.mts 546 B

12345678910111213141516171819
  1. /**
  2. * @name endOfTomorrow
  3. * @category Day Helpers
  4. * @summary Return the end of tomorrow.
  5. * @pure false
  6. *
  7. * @description
  8. * Return the end of tomorrow.
  9. *
  10. * @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).
  11. *
  12. * @returns The end of tomorrow
  13. *
  14. * @example
  15. * // If today is 6 October 2014:
  16. * const result = endOfTomorrow()
  17. * //=> Tue Oct 7 2014 23:59:59.999
  18. */
  19. export declare function endOfTomorrow(): Date;