mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Update index.d.ts
add missing parameter `hasSeconds` to `later.parse.cron()`
This commit is contained in:
3
types/later/index.d.ts
vendored
3
types/later/index.d.ts
vendored
@@ -152,8 +152,9 @@ declare namespace later {
|
||||
* Create schedule data by parsing a cron string
|
||||
*
|
||||
* @param {string} [input] - A string value to parse.
|
||||
* @param {boolean} [hasSeconds] - Whether the cron expression has second part.
|
||||
*/
|
||||
cron(input?: string): ScheduleData;
|
||||
cron(input?: string, hasSeconds?: boolean): ScheduleData;
|
||||
|
||||
/**
|
||||
* Create schedule data by paring a human readable string.
|
||||
|
||||
Reference in New Issue
Block a user