Files
NapCatQQ/.pnpm-store/v3/files/70/d0cffa918e137c617eacbd43a824f8c8d1711a67229d45b214203c6ee17e4536d63f6c4add391ab600801a9f1416c6458c418cfe44789edb487a51151606c0
T
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

15 lines
539 B
Plaintext

/**
* Adds a specified number of days to a date.
* 向日期添加指定数量的天数。
*
* @param date - The date to add days to. (要添加天数的日期。)
* @param days - The number of days to add. (要添加的天数。)
* @returns A new date with the added days. (添加天数后的新日期。)
* @example
* ```ts
* const newDate = addDays(new Date(), 5);
* console.log(newDate); // Outputs the date 5 days from now (输出5天后的日期)
* ```
*/
export default function addDays(date: Date, days: number): Date;