Merge pull request #15661 from WindzCUHK/patch-1

[later] add missing parameter `hasSeconds` to `later.parse.cron()`
This commit is contained in:
Ryan Cavanaugh
2017-04-17 13:15:10 -07:00
committed by GitHub

View File

@@ -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.