Rocky_Mountain_Vending/.pnpm-store/v10/files/a8/e79ed85bc747949da77a5af1273a393c16a86e6d746aec7d6eb889bab3004b14aaab98ef5e5d205129270d1279cfc95436d10fc866e6d33335b4ccbfae1df8
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

29 lines
807 B
Text

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;