mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-11 10:59:55 +08:00
Merge pull request #15661 from WindzCUHK/patch-1
[later] 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