Files
klz-cables.com/.pnpm-store/v10/files/a8/e79ed85bc747949da77a5af1273a393c16a86e6d746aec7d6eb889bab3004b14aaab98ef5e5d205129270d1279cfc95436d10fc866e6d33335b4ccbfae1df8
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

30 lines
807 B
Plaintext

import type { ContextOptions } from "./types.js";
/**
* The {@link startOfYesterday} function options.
*/
export interface StartOfYesterdayOptions<DateType extends Date = Date>
extends ContextOptions<DateType> {}
/**
* @name startOfYesterday
* @category Day Helpers
* @summary Return the start of yesterday.
* @pure false
*
* @typeParam ContextDate - The `Date` type of the context function.
*
* @param options - An object with options
*
* @description
* Return the start of yesterday.
*
* @returns The start of yesterday
*
* @example
* // If today is 6 October 2014:
* const result = startOfYesterday()
* //=> Sun Oct 5 2014 00:00:00
*/
export declare function startOfYesterday<ContextDate extends Date>(
options?: StartOfYesterdayOptions<ContextDate> | undefined,
): ContextDate;