Files
klz-cables.com/.pnpm-store/v10/files/ba/e3cf9739a1c7a85d09a9018498620333dd4fd3074e147042b3b73723cd4299d2dd6eb23c305584767a95a7a7c5c274d1e030a4152717e8bf0455aa2ed81100
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

31 lines
1000 B
Plaintext

import type { ContextOptions } from "./types.js";
/**
* The {@link endOfToday} function options.
*/
export interface EndOfTodayOptions<DateType extends Date = Date>
extends ContextOptions<DateType> {}
/**
* @name endOfToday
* @category Day Helpers
* @summary Return the end of today.
* @pure false
*
* @description
* Return the end of today.
*
* @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).
* @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
*
* @param options - The options
*
* @returns The end of today
*
* @example
* // If today is 6 October 2014:
* const result = endOfToday()
* //=> Mon Oct 6 2014 23:59:59.999
*/
export declare function endOfToday<ResultDate extends Date = Date>(
options?: EndOfTodayOptions<ResultDate>,
): ResultDate;