This commit is contained in:
2025-06-04 10:03:22 +02:00
commit 785a2b6134
14182 changed files with 1764617 additions and 0 deletions

27
node_modules/date-fns/getDecade.d.cts generated vendored Normal file
View File

@ -0,0 +1,27 @@
import type { ContextOptions, DateArg } from "./types.js";
/**
* The {@link getDecade} function options.
*/
export interface GetDecadeOptions extends ContextOptions<Date> {}
/**
* @name getDecade
* @category Decade Helpers
* @summary Get the decade of the given date.
*
* @description
* Get the decade of the given date.
*
* @param date - The given date
* @param options - An object with options
*
* @returns The year of decade
*
* @example
* // Which decade belongs 27 November 1942?
* const result = getDecade(new Date(1942, 10, 27))
* //=> 1940
*/
export declare function getDecade(
date: DateArg<Date> & {},
options?: GetDecadeOptions | undefined,
): number;