- OpenAPI: add missing endpoints (add-from-url, subscriptions, public availability) - OpenAPI: CalendarSubscription schema, Subscriptions tag - Frontend app - Migrations: count_for_availability, subscriptions_sync, user_preferences, calendar_settings - Config, rate limit, auth, calendar, booking, ICS, availability, user service updates Made-with: Cursor
30 lines
798 B
TypeScript
30 lines
798 B
TypeScript
import type { ContextOptions } from "./types.js";
|
|
/**
|
|
* The {@link startOfTomorrow} function options.
|
|
*/
|
|
export interface StartOfTomorrowOptions<DateType extends Date = Date>
|
|
extends ContextOptions<DateType> {}
|
|
/**
|
|
* @name startOfTomorrow
|
|
* @category Day Helpers
|
|
* @summary Return the start of tomorrow.
|
|
* @pure false
|
|
*
|
|
* @typeParam ContextDate - The `Date` type of the context function.
|
|
*
|
|
* @param options - An object with options
|
|
*
|
|
* @returns The start of tomorrow
|
|
*
|
|
* @description
|
|
* Return the start of tomorrow.
|
|
*
|
|
* @example
|
|
* // If today is 6 October 2014:
|
|
* const result = startOfTomorrow()
|
|
* //=> Tue Oct 7 2014 00:00:00
|
|
*/
|
|
export declare function startOfTomorrow<ContextDate extends Date>(
|
|
options?: StartOfTomorrowOptions<ContextDate> | undefined,
|
|
): ContextDate;
|