This commit is contained in:
2025-11-11 00:04:55 -06:00
parent a76ad41fde
commit 40538eddfd
6405 changed files with 1289756 additions and 0 deletions

24
node_modules/date-and-time/plugin/timespan.d.ts generated vendored Normal file
View File

@ -0,0 +1,24 @@
declare module '../date-and-time' {
export type TimeSpanResult = {
/** Returns the result value in milliseconds. */
toMilliseconds: (formatString: string) => string,
/** Returns the result value in seconds. */
toSeconds: (formatString: string) => string,
/** Returns the result value in minutes. */
toMinutes: (formatString: string) => string,
/** Returns the result value in hours. */
toHours: (formatString: string) => string,
/** Returns the result value in days. */
toDays: (formatString: string) => string
};
/**
* Subtracting two dates (date1 - date2)
* @param date1 - A Date object
* @param date2 - A Date object
* @returns The result object of subtracting date2 from date1
*/
export function timeSpan(date1: Date, date2: Date): TimeSpanResult;
}
export default function (proto: unknown, date?: unknown): string;