增加了提issue的功能

Signed-off-by: Chen Xiao <abigwc@gmail.com>
This commit is contained in:
Chen Xiao
2026-05-12 08:59:02 +08:00
parent 08a05b088a
commit 45e18b4d47
6118 changed files with 512373 additions and 4 deletions
+18
View File
@@ -0,0 +1,18 @@
/**
* @name yearsToDays
* @category Conversion Helpers
* @summary Convert years to days.
*
* @description
* Convert a number of years to a full number of days.
*
* @param years - The number of years to be converted
*
* @returns The number of years converted in days
*
* @example
* // Convert 2 years into days
* const result = yearsToDays(2)
* //=> 730
*/
export declare function yearsToDays(years: number): number;